VerdictDB: Universalizing Approximate Query Processing
Not on the map. Why?
Abstract (arXiv)
Despite 25 years of research in academia, approximate query processing (AQP) has had little industrial adoption. One of the major causes of this slow adoption is the reluctance of traditional vendors to make radical changes to their legacy codebases, and the preoccupation of newer vendors (e.g., SQL-on-Hadoop products) with implementing standard features. Additionally, the few AQP engines that are available are each tied to a specific platform and require users to completely abandon their existing databases---an unrealistic expectation given the infancy of the AQP technology. Therefore, we argue that a universal solution is needed: a database-agnostic approximation engine that will widen the reach of this emerging technology across various platforms. Our proposal, called VerdictDB, uses a middleware architecture that requires no changes to the backend database, and thus, can work with all off-the-shelf engines. Operating at the driver-level, VerdictDB intercepts analytical queries issued to the database and rewrites them into another query that, if executed by any standard relational engine, will yield sufficient information for computing an approximate answer. VerdictDB uses the returned result set to compute an approximate answer and error estimates, which are then passed on to the user or application. However, lack of access to the query execution layer introduces significant challenges in terms of generality, correctness, and efficiency. This paper shows how VerdictDB overcomes these challenges and delivers up to 171× speedup (18.45× on average) for a variety of existing engines, such as Impala, Spark SQL, and Amazon Redshift, while incurring less than 2.6% relative error. VerdictDB is open-sourced under Apache License.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Apr 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 2; 2025: 3; 2026: 2.
11 papers.
- 2025Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generationcited by 36
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Feescited by 2
- 2024Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelinescited by 2
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interactcited by 2
- 2021FlashP: An Analytical Pipeline for Real-time Forecasting of Time-Series Relational Datacited by 1
- 2022Electra: Conditional Generative Model based Predicate-Aware Query Approximationcited by 1
- 2022Reinforced Approximate Exploratory Data Analysiscited by 1
- 2023[Experiments & Analysis] Evaluating the Feasibility of Sampling-Based Techniques for Training Multilayer Perceptronscited by 0
- 2025SHARP: Shared State Reduction for Efficient Matching of Sequential Patternscited by 0
- 2026Evergreen: Efficient Claim Verification for Semantic Aggregatescited by 0
- 2026Data Quality Profiling at Scale with Progressive Sampling: A Benchmark for Data-Centric AI Pipelinescited by 0
- 2026Data Quality Profiling at Scale with Progressive Sampling: A Benchmark for Data-Centric AI Pipelines28 Jul 2026
- 2026Evergreen: Efficient Claim Verification for Semantic Aggregates28 Apr 2026
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interact10 Dec 2025
- 2025SHARP: Shared State Reduction for Efficient Matching of Sequential Patterns7 Jul 2025
- 2025Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation5 Feb 2025
- 2024Biathlon: Harnessing Model Resilience for Accelerating ML Inference Pipelines18 May 2024
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Fees11 Mar 2024
- 2023[Experiments & Analysis] Evaluating the Feasibility of Sampling-Based Techniques for Training Multilayer Perceptrons15 Jun 2023
- 2022Reinforced Approximate Exploratory Data Analysis12 Dec 2022
- 2022Electra: Conditional Generative Model based Predicate-Aware Query Approximation28 Jan 2022
- 2021FlashP: An Analytical Pipeline for Real-time Forecasting of Time-Series Relational Data9 Jan 2021