Introduction: Beyond Raw Query Speed
Traditional database benchmarks like TPC-H are designed to measure raw execution speed for complex, one-shot SQL queries. However, modern data science relies on Interactive Data Exploration (IDE), where users "poke and prod" data in real-time using tools like Tableau. In these scenarios, a system that provides a 99% accurate answer in 500 milliseconds is often more valuable than one that takes 10 seconds to reach 100% accuracy.
Current benchmarks fail to account for the iterative nature of these workflows, the use of approximation (sampling), and the "think-time" between user interactions. This paper proposes a new framework to measure "insights per minute" by simulating human behavior and penalizing systems that break a user's flow with high latency.
A Modular Framework: The Four Core-Sets
The proposed benchmark is organized into four Core-Sets, each targeting a specific functional aspect of an IDE system:
- Core-Set I (Interactive Visual Analysis): Evaluates basic operations like filtering, pivoting, and drill-downs. It focuses on the system's ability to maintain a fluid user experience.
- Core-Set II (Interactive Model Building): Measures the time required for a user to converge on a machine learning model of sufficient quality (e.g., a target F-score).
- Core-Set III (Recommendations): Tests the system's ability to suggest relevant visualizations or correlations, using metrics like Mean Average Precision (MAP) adjusted for latency.
- Core-Set IV (Risk and Data Quality): Assesses how well the system protects users from statistical pitfalls, such as Simpson’s Paradox or false discoveries caused by testing too many hypotheses.
Human-Centric Metrics: The 500ms Rule
A key innovation is the Interactivity Performance metric ($P$). Research indicates that latencies exceeding 500ms significantly disrupt the flow of discovery. The $P$ metric formalizes this by penalizing systems that cross this threshold:
$$P = \sum_{i \in I} \max(0; T_q(i) - t_u)$$
Where $T_q(i)$ is the time to reach a specific quality level and $t_u$ is the latency threshold (e.g., 500ms). This shift from "time to finish" to "time to a quality estimate" allows for a more accurate ranking of systems based on human-centric performance. Being 50ms faster than a competitor doesn't matter if both are under 500ms, but crossing that line triggers a heavy penalty.
Simulating the User Experience
To accurately benchmark IDE, the framework suggests simulating "think-time"—the pauses where a user stops to analyze a chart. This approach allows systems with speculative execution or pre-fetching capabilities to demonstrate their advantages. Furthermore, the benchmark utilizes diverse datasets, including the MIMIC medical dataset for clinical exploration and synthetic generators that preserve complex correlations to test risk-control features.
Conclusion and Future Work
While this vision paper provides a roadmap for the database community, challenges remain. Defining "typical" user behavior for recommendations and risk control is difficult and domain-dependent. The authors are actively seeking collaborators to define the "ground truth" for these advanced Core-Sets, moving toward a standard that reflects the true needs of modern data scientists.
Summary updated