Testing Computation Pushdown in Distributed Database Systems
Jinsheng Ba, Zuming Jiang, Zhendong Su
Key points
From the paper's conclusion- We applied CPE to three production-grade distributed DBMSs: CockroachDB, TiDB, and YugabyteDB.
Abstract
Computation pushdown is a critical technique in distributed database management systems (DBMSs), enabling certain operations to be executed closer to the data to reduce network overhead and improve performance. However, its behavior depends on multiple factors beyond the input query itself, such as data distribution and resource utilization. This makes it difficult to validate correctness using only input queries in a black-box manner. Existing testing methods that rely solely on query manipulation cannot effectively control or predict pushdown behavior, and are therefore insufficient. In this paper, we introduce Controlled Pushdown Execution (CPE), a white-box method that enables systematic validation of computation pushdown. CPE modifies the source code of DBMSs to forbid a specific pushdown operator and compares the results. Any discrepancy reveals a bug. Our study shows that CPE can control all supported operators across different systems. We applied CPE to three production-grade distributed DBMSs: CockroachDB, TiDB, and YugabyteDB. CPE found 25 previously unknown and unique bugs, 14 of which are logic bugs---incorrect results. CPE finds 3x more bugs than historical bugs and can reproduce all historical bugs. Beyond computation pushdown, the core insight of controllable execution can generalize to other contexts (e.g., transaction schedule), providing a systematic way to uncover subtle logic bugs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- EPSC: Testing Database Management Systems via Equivalent Prepared Statement ConstructionProceedings of the ACM on Management of Data · 2026
- Fix One, Miss Another: Leveraging Historical Bug Fixes to Uncover Residual Bugs in Database SystemsarXiv · 2026
- Nemo: Efficient Caching with Index Pushdown for Disaggregated OLTP DatabasesarXiv · 2026
- Vbox: Efficient Black-Box Serializability VerificationProceedings of the ACM on Software Engineering · 2026
- DBugScribe: Automatic Database Bug Reproduction from Community ReportsProceedings of the ACM on Management of Data · 2026
- Uncovering Systematic Blind Spots in Graph Database Testing through Integration and Process-Level AnalysisarXiv · 2026