Skip to main content

Proactive re-optimization

Publication ,  Journal Article
Babu, S; Bizarro, P; DeWitt, D
Published in: Proceedings of the ACM SIGMOD International Conference on Management of Data
December 1, 2005

Traditional query optimizers rely on the accuracy of estimated statistics to choose good execution plans. This design often leads to suboptimal plan choices for complex queries, since errors in estimates for intermediate subexpressions grow exponentially in the presence of skewed and correlated data distributions. Re-optimization is a promising technique to cope with such mistakes. Current re-optimizers first use a traditional optimizer to pick a plan, and then react to estimation errors and resulting suboptimalities detected in the plan during execution. The effectiveness of this approach is limited because traditional optimizers choose plans unaware of issues affecting re-optimization. We address this problem using proactive re-optimization, a new approach that incorporates three techniques: i) the uncertainty in estimates of statistics is computed in the form of bounding boxes around these estimates, ii) these bounding boxes are used to pick plans that are robust to deviations of actual values from their estimates, and iii) accurate measurements of statistics are collected quickly and efficiently during query execution. We present an extensive evaluation of these techniques using a prototype proactive re-optimizer named Rio. In our experiments Rio outperforms current re-optimizers by up to a factor of three. Copyright 2005 ACM.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

Proceedings of the ACM SIGMOD International Conference on Management of Data

DOI

ISSN

0730-8078

Publication Date

December 1, 2005

Start / End Page

107 / 118
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Babu, S., Bizarro, P., & DeWitt, D. (2005). Proactive re-optimization. Proceedings of the ACM SIGMOD International Conference on Management of Data, 107–118. https://doi.org/10.1145/1066157.1066171
Babu, S., P. Bizarro, and D. DeWitt. “Proactive re-optimization.” Proceedings of the ACM SIGMOD International Conference on Management of Data, December 1, 2005, 107–18. https://doi.org/10.1145/1066157.1066171.
Babu S, Bizarro P, DeWitt D. Proactive re-optimization. Proceedings of the ACM SIGMOD International Conference on Management of Data. 2005 Dec 1;107–18.
Babu, S., et al. “Proactive re-optimization.” Proceedings of the ACM SIGMOD International Conference on Management of Data, Dec. 2005, pp. 107–18. Scopus, doi:10.1145/1066157.1066171.
Babu S, Bizarro P, DeWitt D. Proactive re-optimization. Proceedings of the ACM SIGMOD International Conference on Management of Data. 2005 Dec 1;107–118.

Published In

Proceedings of the ACM SIGMOD International Conference on Management of Data

DOI

ISSN

0730-8078

Publication Date

December 1, 2005

Start / End Page

107 / 118