Reverse Query Processing
Carsten Binnig, Donald Kossmann, Eric Lo · Proceedings - International Conference on Data Engineering · 2007
Generating databases for testing database applications (e.g., OLAP or business objects) is a daunting task in practice. There are a number of commercial tools to automatically generate test databases. These tools take a database schema (table layouts plus integrity constraints) and table sizes as input in order to generate new tuples. However, the databases generated by these tools are not adequate for testing a database application. If an application query is executed against such a synthetic database, then the result of that application query is likely to be empty or contain weird results, such as a report on the performance of a sales person that contains negative sales. To solve this problem, this paper proposes a new technique called reverse query processing (RQP). RQP gets a query and a result as input and returns a possible database instance that could have produced that result for that query. RQP also has other applications; most notably, testing the performance of DBMS and debugging SQL queries.
Cited by 99 works. doi:10.1109/icde.2007.367896
Authors
References
- A relational model of data for large shared data banks
- Model checking
- Query evaluation techniques for large databases
- Model Checking
- A Relational Model of Data for Large Shared Data Banks
- Fjording the stream: an architecture for queries over streaming sensor data
- Database Systems: The Complete Book
- Testing Object-Oriented Systems: Models, Patterns, and Tools
- Quickly generating billion-record synthetic databases
- Optimization of nested SQL queries revisited