2005 · 164 citations · 31 references
ComputingData ScienceOptimizationStatistical ComputingUncertainty QuantificationOptimization Under UncertaintyPerformance OptimizationPlan OptimizationQuery OptimizationQuery ProcessingRobust OptimizationExecution Plan SelectionExecution PlansOptimizer DesignQuery Execution
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. Reoptimization 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 reoptimization. We address this problem using proactive reoptimization, 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.
31
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
Ron Avnur, Joseph M. Hellerstein · ACM SIGMOD Record · 2000 · 795 citations
Improved histograms for selectivity estimation of range predicates
Viswanath Poosala, Peter J. Haas, Yannis Ioannidis et al. · 1996 · 559 citations
An adaptive query execution system for data integration
Zachary G. Ives, Daniela Florescu, Marc Friedman et al. · ACM SIGMOD Record · 1999 · 394 citations
Ron Avnur, Joseph M. Hellerstein · 2000 · 371 citations · Full text