ACM Home Page
Please provide us with feedback. Feedback
A pay-as-you-go framework for query execution feedback
Full text PdfPdf (727 KB)
Source
Proceedings of the VLDB Endowment archive
Volume 1 ,  Issue 1  (August 2008) table of contents
SESSION: Query processing table of contents
Pages 1141-1152  
Year of Publication: 2008
ISSN:2150-8097
Authors
Surajit Chaudhuri  Microsoft Research, One Microsoft Way, Redmond, WA
Vivek Narasayya  Microsoft Research One Microsoft Way Red mond, WA
Ravi Ramamurthy  Microsoft Research One Microsoft Way Redmond, WA
Publisher
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 54,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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

ABSTRACT

Past work has suggested that query execution feedback can be useful in improving the quality of plans by correcting cardinality estimation errors in the query optimizer. The state-of-the-art approach for obtaining execution feedback is "passive" monitoring which records the cardinality of each operator in the execution plan. We observe that there are many cases where even after repeated executions of the same query with use of feedback from passive monitoring, suboptimal choices in the execution plan cannot be corrected. We present a novel "pay-as-you-go" framework in which a query potentially incurs a small overhead on each execution but obtains cardinality information that is not available with passive monitoring alone. Such a framework can significantly extend the reach of query execution feedback in obtaining better plans. We have implemented our techniques in Microsoft SQL Server, and our evaluation on real world and synthetic queries suggests that plan quality can improve significantly compared to passive monitoring even at low overheads.


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
7
8
 
9
S. Chaudhuri, V. Narasayya. Program for TPC-D Data Generation with skew. ftp://ftp.research.microsoft.com/users/viveknar/tpcdskew
 
10
 
11
S. Chaudhuri, V. Narasayya, R. Ramamurthy. Diagnosing Estimation Errors in Page Counts Using Execution Feedback. In Proceedings of ICDE 2008.
12
 
13
W. G. Cochran. Sampling Techniques. 3rd Edition. Wiley.
 
14
 
15
A. El-Helw, I. F. Ilyas, W. Lau, V. Markl, C. Zuzarte. Collecting and Maintaining Just-in-Time Statistics. In Proceedings of ICDE 2007.
 
16
 
17
G. Graefe. The Cascades framework for query optimization. Data Engineering Bulletin, 18(3), 1995.
18
19
 
20
 
21
 
22
IEEE Data Engineering Bulleting on Self-Managing Database Systems. Volume 29, Number 3, September 2006.


Collaborative Colleagues:
Surajit Chaudhuri: colleagues
Vivek Narasayya: colleagues
Ravi Ramamurthy: colleagues