• DocumentCode
    2730434
  • Title

    Reverse Query Processing

  • Author

    Binnig, Carsten ; Kossmann, D. ; Lo, Eric

  • Author_Institution
    Heidelberg Univ., Germany
  • fYear
    2007
  • fDate
    15-20 April 2007
  • Firstpage
    506
  • Lastpage
    515
  • Abstract
    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.
  • Keywords
    program testing; query processing; DBMS; SQL query debugging; database application testing; database generation; database schema; integrity constraints; reverse query processing; table layouts; test databases; Algebra; Automatic testing; Business; Debugging; Logic design; Logic testing; Marketing and sales; Query processing; Relational databases; Statistical distributions;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
  • Conference_Location
    Istanbul
  • Print_ISBN
    1-4244-0802-4
  • Type

    conf

  • DOI
    10.1109/ICDE.2007.367896
  • Filename
    4221699