DocumentCode :
610394
Title :
Predicting query execution time: Are optimizer cost models really unusable?
Author :
Wentao Wu ; Yun Chi ; Shenghuo Zhu ; Tatemura, J. ; Hacigumus, H. ; Naughton, J.F.
Author_Institution :
Comput. Sci. Dept., Univ. of Wisconsin, Madison, WI, USA
fYear :
2013
fDate :
8-12 April 2013
Firstpage :
1081
Lastpage :
1092
Abstract :
Predicting query execution time is useful in many database management issues including admission control, query scheduling, progress monitoring, and system sizing. Recently the research community has been exploring the use of statistical machine learning approaches to build predictive models for this task. An implicit assumption behind this work is that the cost models used by query optimizers are insufficient for query execution time prediction. In this paper we challenge this assumption and show while the simple approach of scaling the optimizer´s estimated cost indeed fails, a properly calibrated optimizer cost model is surprisingly effective. However, even a well-tuned optimizer cost model will fail in the presence of errors in cardinality estimates. Accordingly we investigate the novel idea of spending extra resources to refine estimates for the query plan after it has been chosen by the optimizer but before execution. In our experiments we find that a well calibrated query optimizer model along with cardinality estimation refinement provides a low overhead way to provide estimates that are always competitive and often much better than the best reported numbers from the machine learning approaches.
Keywords :
database management systems; query processing; admission control; cardinality estimates; cardinality estimation refinement; database management; predictive model; progress monitoring; query execution time prediction; query optimizer cost model; query plan; query scheduling; research community; statistical machine learning; system sizing; Calibration; Equations; Estimation; Hardware; Indexes; Mathematical model;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2013 IEEE 29th International Conference on
Conference_Location :
Brisbane, QLD
ISSN :
1063-6382
Print_ISBN :
978-1-4673-4909-3
Electronic_ISBN :
1063-6382
Type :
conf
DOI :
10.1109/ICDE.2013.6544899
Filename :
6544899
Link To Document :
بازگشت