ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Unit-testing query transformation rules
Full text PdfPdf (1.15 MB)
Source International Conference on Management of Data archive
Proceedings of the 1st international workshop on Testing database systems table of contents
Vancouver, British Columbia, Canada
SESSION: War stories table of contents
Article No.: 3  
Year of Publication: 2008
ISBN:978-1-60558-233-7
Authors
Mostafa Elhemali  Microsoft SQL Server, Microsoft Corp., Redmond, WA
Leo Giakoumakis  Microsoft SQL Server, Microsoft Corp., Redmond, WA
Sponsor
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 76,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1385269.1385273
What is a DOI?

ABSTRACT

The process of validating the internal functionality of a query optimizer includes the selection of appropriate queries to be used as test cases for exercising and validating specific code paths. Specifically, it is desirable to be able to implement unit-tests for small components of the query optimizer such as the query transformation rules.

In this paper, we present a practical method that simplifies the creation of test cases for validating query transformation rules in a query optimizer. We present the QRel programming framework, which allows designing test cases based on relational algebra expressions. We show how such a framework can be used to create classes of similar test cases that exercise transformation rules over a variety of relational algebra expressions. Finally, we provide some examples of how QRel is used to validate SQL Server's optimizations for subqueries.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
4
 
5
 
6
Giakoumakis, L and Galindo-Legaria, C. Testing SQL Server's Query Optimizer: Challenges, Techniques and Experiences. IEEE Data Engineering Bulletin, 31, 1 (March 2008), 37--44
7
 
8
 
9
TPC Benchmark H. Decision Support. http://www.tpc.org


Collaborative Colleagues:
Mostafa Elhemali: colleagues
Leo Giakoumakis: colleagues