2024 · 18 citations · 23 references
ComputingComputer ScienceData ManagementDatabasesFormal MethodsDatabase ManagementQuery ManagementQuery OptimizationQuery ProcessingSoftware TestingStructured Query LanguageMetamorphic TestingTest Oracles
Testing database management systems (DBMSs) is a complex task. Traditional approaches, such as metamorphic testing, need a precise comprehension of the SQL specification to create diverse inputs with equivalent semantics. The vagueness and intricacy of the SQL specification make it challenging to accurately model query semantics, thereby posing difficulties in testing the correctness and performance of DBMSs. To address this, we propose Mozi, a framework that finds DBMS bugs via configuration-based equivalent transformation. The key idea behind Mozi is to compare the results of equivalent DBMSs with different configurations, rather than between semantically equivalent queries. The framework involves analyzing the query plan, changing configurations to transform the DBMS to an equivalent one, and re-executing the query to compare the results using various test oracles. For example, detecting differences in query results indicates correctness bugs, while observing faster execution times on the optimization-closed DBMS suggests performance bugs.
23
IEEE Security & Privacy · 2004 · 1.5K citations
Automatic Database Management System Tuning Through Large-scale Machine Learning
Dana Van Aken, Andrew Pavlo, Geoffrey J. Gordon et al. · 2017 · 550 citations · Full text
A Survey on Metamorphic Testing
Sergio Segura, Gordon Fraser, Ana B. Sánchez et al. · IEEE Transactions on Software Engineering · 2016 · 539 citations
Differential Testing for Software.
W. M. McKeeman · 1998 · 454 citations