Back to papers
Keep It Simple: Testing Databases via Differential Query Plans
Summary: Proposes Differential Query Plan (DQP) testing: force multiple physical plans for the same query and check result consistency, instead of TQS-style table splitting/oracle synthesis. Surprisingly simple yet strong: reproduces 14/15 TQS bugs, finds 26 new ones, and is complementary to NoREC/TLP.
(summarized by gpt-5.4-mini on May 24 2026)
Paper ID
h97c60b233d00f0af
Venue
SIGMOD
Year
2024
Pagerank
7.1327136e-05
Overall Rank
3,651 | 75.46%
DOI
10.1145/3654991
Incoming Non-self Citations Over Time
BibTeX Citation
Copy BibTeX
@inproceedings{ba_sigmod24,
title = {{Keep It Simple: Testing Databases via Differential Query Plans}},
author = {Ba, Jinsheng and Rigger, Manuel},
series = {{SIGMOD} '24},
booktitle = {Proceedings of the {ACM} {SIGMOD} International Conference on Management of Data},
publisher = {Association for Computing Machinery},
doi = {10.1145/3654991},
url = {https://dl.acm.org/doi/10.1145/3654991},
year = {2024}
}
Incoming Citations (Sorted by Pagerank)
Showing 13 of 13 citing papers.
Rank
Citing Paper
Year
Venue
Pagerank
5,054
Detecting Metadata-Related Logic Bugs in Database Systems via Raw Database Construction
2024
VLDB
6.2944842e-05
8,636
PBench: Workload Synthesizer with Real Statistics for Cloud Analytics Benchmarking
2025
VLDB
5.2981619e-05
9,218
EPSC: Testing Database Management Systems via Equivalent Prepared Statement Construction
2026
SIGMOD
5.2056825e-05
9,221
SRS: Detecting Logic Bugs of Join Implementation in DBMSs via Set Relation Synthesis
2026
SIGMOD
5.2056825e-05
9,403
Detecting Schema-Related Logic Bugs in Relational DBMSs via Equivalent Database Construction
2025
VLDB
5.1833519e-05
10,056
Finding Logic Bugs in Graph-processing Systems via Graph-cutting
2025
SIGMOD
5.0875952e-05
10,060
Simple Testing Can Expose Most Critical Transaction Bugs: Understanding and Detecting Write-Specific Serializability Violations in Database Systems
2025
VLDB
5.0875952e-05
10,415
Automated Discovery of Test Oracles for Database Management Systems Using LLMs
2026
SIGMOD
4.9793485e-05
10,432
DBugScribe: Automatic Database Bug Reproduction from Community Reports
2026
SIGMOD
4.9793485e-05
10,434
Detecting Join Bugs in Database Engines via Join Implication Reasoning
2026
SIGMOD
4.9793485e-05
10,536
Testing Graph Databases with Synthesized Queries
2026
SIGMOD
4.9793485e-05
10,664
One DBMS, Two Modes, and a Bunch of Bugs: Catching Logic Bugs in Distributed DBMSs via Differential Testing
2026
SIGMOD
4.9793485e-05
10,872
Detecting Data-Type-Related Logic Bugs in Relational DBMSs via Compatible Database Construction
2026
VLDB
4.9793485e-05
Outgoing Citations (Sorted by Pagerank)
Showing 15 of 15 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
Rank
Cited Paper
Year
Venue
Pagerank
1
Access Path Selection in a Relational Database Management System
1979
SIGMOD
0.0023947656
106
Quickly Generating Billion-Record Synthetic Databases
1994
SIGMOD
0.00033526937
185
CockroachDB: The Resilient Geo-Distributed SQL Database
2020
SIGMOD
0.00026072278
747
QAGen: Generating Query-Aware Test Databases
2007
SIGMOD
0.00014283935
1,378
Execution Strategies for SQL Subqueries
2007
SIGMOD
0.00010864448
1,832
APOLLO: Automatic Detection and Diagnosis of Performance Regressions in Database Systems
2020
VLDB
9.5430971e-05
1,890
Generating Targeted Queries for Database Testing
2008
SIGMOD
9.4193315e-05
1,928
Detecting Logic Bugs of Join Optimizations in DBMS
2023
SIGMOD
9.3567082e-05
2,251
Counter Strike: Generic Top-Down Join Enumeration for Hypergraphs
2013
VLDB
8.7511987e-05
2,712
Generating Thousand Benchmark Queries in Seconds
2004
VLDB
8.1035277e-05
3,797
Query Simplification: Graceful Degradation for Join-Order Optimization
2009
SIGMOD
7.0163619e-05
4,113
A genetic approach for random testing of database systems
2007
VLDB
6.7985257e-05
7,474
PgCuckoo: Laying Plan Eggs in PostgreSQL's Nest
2019
SIGMOD
5.5168895e-05
8,615
A Demonstration of DLBD: Database Logic Bug Detection System
2023
VLDB
5.3023012e-05
9,350
Automatic SQL Error Mitigation in Oracle
2023
VLDB
5.1891342e-05
Semantically Similar Papers
#
Overall Rank
Paper
Year
Venue
1
9,403
Detecting Schema-Related Logic Bugs in Relational DBMSs via Equivalent Database Construction
2025
VLDB
2
4,038
Counting, Enumerating, and Sampling of Execution Plans in a Cost-Based Query Optimizer
2000
SIGMOD
3
6,100
Constant Optimization Driven Database System Testing
2025
SIGMOD
4
5,235
Test Data for Relational Queries (Extended abstract)
1986
PODS
5
12,786
A Framework for Testing Query Transformation Rules
2009
SIGMOD
6
9,221
SRS: Detecting Logic Bugs of Join Implementation in DBMSs via Set Relation Synthesis
2026
SIGMOD
7
7,638
Test Data Generation for Complex SQL Queries
2026
SIGMOD
8
1,890
Generating Targeted Queries for Database Testing
2008
SIGMOD
9
10,536
Testing Graph Databases with Synthesized Queries
2026
SIGMOD
10
1,928
Detecting Logic Bugs of Join Optimizations in DBMS
2023
SIGMOD