DocumentCode :
3323292
Title :
Diagnosing Estimation Errors in Page Counts Using Execution Feedback
Author :
Chaudhuri, Surajit ; Narasayya, Vivek ; Ramamurthy, Ravishankar
Author_Institution :
Microsoft Res., Redmond, WA
fYear :
2008
fDate :
7-12 April 2008
Firstpage :
1013
Lastpage :
1022
Abstract :
Errors in estimating page counts can lead to poor choice of access methods and in turn to poor quality plans. Although there is past work in using execution feedback for accurate cardinality estimation, the problem of inaccurate estimation of page counts has not been addressed. In this paper, we present novel mechanisms for diagnosing errors in page count by monitoring query execution at low overhead. Detection of inaccuracy in the optimizer estimates of page count can be leveraged by database administrators to improve plan quality. We have prototyped our techniques in the Microsoft SQL Server engine, and our experiments demonstrate the ability to estimate page counts accurately using execution feedback with low overhead. For queries on several real world databases, we observe significant improvement in plan quality when page counts obtained from execution feedback are used instead of the traditional optimizer estimations.
Keywords :
estimation theory; query processing; Microsoft SQL Server; cardinality estimation; error estimation; execution feedback; page counts; query execution; Analytical models; Condition monitoring; Cost function; Databases; Estimation error; Feedback loop; Histograms; Marketing and sales; Query processing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2008. ICDE 2008. IEEE 24th International Conference on
Conference_Location :
Cancun
Print_ISBN :
978-1-4244-1836-7
Electronic_ISBN :
978-1-4244-1837-4
Type :
conf
DOI :
10.1109/ICDE.2008.4497510
Filename :
4497510
Link To Document :
بازگشت