TY - GEN
T1 - DIRT
T2 - 11th International Workshop on Testing Database Systems, DBTest 2026
AU - Keles, Alperen
AU - Chou, Ethan
AU - Goldstein, Harrison
AU - Lampropoulos, Leonidas
N1 - Publisher Copyright:
© 2026 Copyright held by the owner/author(s).
PY - 2026/6/26
Y1 - 2026/6/26
N2 - Database management systems (DBMSs) are notoriously complex, making them difficult to test effectively, especially during early development when many features are incomplete. Traditional testing tools like SQLancer and SQLSmith are highly effective for mature databases, but they struggle with high false positive rates and low actionability when applied to evolving systems. We present DIRT, a paradigm designed specifically for testing databases during development, which integrates a testing framework directly into the DBMS, enabling the random testing process to evolve in tandem with the system and reducing false positives by construction. We introduce generation actions, an abstraction for allowing database developers rather than testing experts to specify correctness properties. We evaluate DIRT on Turso, an actively developed SQLite-compatible OLTP engine, and show that it finds 23 unique, confirmed bugs-significantly outperforming off-The-shelf SQLancer variants in terms of true positive rate and usefulness of bug reports. Our results demonstrate that embedding testing infrastructure within the DBMS can dramatically improve its effectiveness and usability during development.
AB - Database management systems (DBMSs) are notoriously complex, making them difficult to test effectively, especially during early development when many features are incomplete. Traditional testing tools like SQLancer and SQLSmith are highly effective for mature databases, but they struggle with high false positive rates and low actionability when applied to evolving systems. We present DIRT, a paradigm designed specifically for testing databases during development, which integrates a testing framework directly into the DBMS, enabling the random testing process to evolve in tandem with the system and reducing false positives by construction. We introduce generation actions, an abstraction for allowing database developers rather than testing experts to specify correctness properties. We evaluate DIRT on Turso, an actively developed SQLite-compatible OLTP engine, and show that it finds 23 unique, confirmed bugs-significantly outperforming off-The-shelf SQLancer variants in terms of true positive rate and usefulness of bug reports. Our results demonstrate that embedding testing infrastructure within the DBMS can dramatically improve its effectiveness and usability during development.
UR - https://www.scopus.com/pages/publications/105044210915
U2 - 10.1145/3810991.3811632
DO - 10.1145/3810991.3811632
M3 - Conference contribution
AN - SCOPUS:105044210915
T3 - DBTest 2026 - Proceedings of the 2026 11th International Workshop on Testing Database Systems
SP - 23
EP - 30
BT - DBTest 2026 - Proceedings of the 2026 11th International Workshop on Testing Database Systems
PB - Association for Computing Machinery, Inc
Y2 - 31 May 2026 through 5 June 2026
ER -