NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

IDEBench: A Benchmark for Interactive Data Exploration

Philipp Eichmann, Emanuel Zgraggen, Carsten Binnig, Tim KraskaSIGMOD 2018

TL;DR

This paper introduces IDEBench, a novel benchmark designed to evaluate database systems for interactive data exploration (IDE). It addresses the limitations of traditional benchmarks by simulating realistic, ad-hoc query workloads and focusing on the trade-off between query performance and result quality, a crucial aspect of IDE.

What Problem Does This Paper Address?

Traditional database benchmarks like TPC-DS and TPC-H are built for static reporting scenarios, focusing on the performance of pre-defined, complex SQL queries. However, interactive data exploration systems (e.g., Tableau, imMens) generate dynamic, ad-hoc queries that are often built incrementally by users. These systems prioritize sub-second response times, even if the results are approximate, over waiting for precise answers. Existing benchmarks fail to capture these crucial aspects of IDE workloads, making it difficult to compare the performance of specialized IDE engines, approximate query processing systems, and traditional analytical databases in this context.

Methods

The core contribution is the IDEBench benchmark framework, which consists of:

  • Data Generator: Scales seed datasets to arbitrary sizes while preserving data distributions and relationships. It can also transform data into normalized or de-normalized schemas.
  • Workload Generator: Creates sequences of interactions ("workflows") that simulate realistic user exploration patterns. These patterns include independent browsing, sequential linking, 1:N linking, and N:1 linking, reflecting how users incrementally build queries and how changes in one visualization can affect others. Workflows incorporate "think times" between interactions.
  • Benchmark Driver: Orchestrates the execution of workflows, delegates interactions to system adapters, and generates reports.
  • System Adapters: Proxies that translate benchmark interactions into queries executable by the system under test.

IDEBench introduces new metrics to capture both speed (time requirement violations) and quality (e.g., missing bins, mean relative error, cosine distance, bias) of approximate or progressive results, reflecting the speed-quality trade-off.

Datasets

The paper uses a real-world dataset of U.S. domestic flights as the default seed dataset for IDEBench. This dataset is scaled to different sizes (S, M, L) for evaluation. The benchmark is designed to be customizable with other datasets and schema complexities (normalized vs. de-normalized star schemas).

Key Insights and Ideas

  • The "speed vs. quality" trade-off is paramount for IDE: Users often prefer fast, approximate answers over slow, exact ones. IDEBench directly measures this trade-off.
  • Realistic workloads are incremental and interactive: IDEBench moves beyond static query sets to simulate user-driven exploration, including think times and linked visualizations.
  • Specialized systems excel at IDE: Progressive and approximate query processing (AQP) systems (like IDEA and System X) generally perform better than traditional analytical databases (like MonetDB) in meeting interactive response times, especially with increasing data sizes.
  • Offline sampling has overhead: Systems relying on pre-computed sample tables (like System X) require significant data preparation time and their quality metrics remain constant regardless of time requirements, necessitating careful sample size selection.
  • Online AQP offers flexibility: Systems with online sampling capabilities (like IDEA) can adapt better to varying time requirements and data sizes.

Key Results

The paper evaluates four systems: MonetDB (traditional analytical), approximateDB/XDB (AQP, PostgreSQL-based), IDEA (progressive), and System X (commercial in-memory AQP).

  • MonetDB: Showed linearly decreasing time requirement violations and missing bins with increasing time requirements. However, it struggled with larger datasets and tighter time constraints.
  • approximateDB/XDB: Consistently violated time requirements around 66% for any time requirement, primarily because it only supported online aggregation for COUNT and SUM, not AVG or multiple aggregates simultaneously.
  • IDEA: Did not violate time requirements except for a small percentage at the tightest constraint (0.5s). It also showed significantly fewer missing bins and better mean relative error compared to other systems.
  • System X: Violated time requirements for over 50% of queries at 0.5s, but improved dramatically to only 5% violation at 1s and 0% at 3s. The percentage of violated TR was a good indicator for setting sample sizes.
  • Data Preparation Time: Varied significantly, from 3 minutes for IDEA to 130 minutes for approximateDB/XDB.
  • Normalized vs. De-normalized: MonetDB and approximateDB showed slightly better performance with normalized schemas in terms of time requirement violations, likely due to reduced overall table sizes.

Limitations and Future Work

  • Limitations: The current version of IDEBench targets star schemas and does not fully model complex human behavior or user interface effectiveness. The paper acknowledges that some systems have limitations in query support (e.g., approximateDB/XDB).
  • Future Work: The authors plan to extend IDEBench with more sophisticated core-sets to evaluate other functional aspects of IDE, such as interactive model building, recommendation engines, and data cleaning capabilities. They also aim to make the benchmark code publicly available and include more systems and datasets. They envision a modular design where different core-sets can be tested individually.

Summary updated

BibTeX
@inproceedings{eichmann2018idebench,
  author = {Philipp Eichmann and Emanuel Zgraggen and Carsten Binnig and Tim Kraska},
  title = {{IDEBench: A Benchmark for Interactive Data Exploration}},
  booktitle = {SIGMOD},
  year = {2018},
  doi = {10.1145/3318464.3380574},
}
Figure