Least expected cost query optimization
Francis C. Chu, Joseph Yehuda Halpern, Praveen Seshadri · 1999
We identify two unreasonable, though standard, assumptions made by database query optimizers that can adversely affect the quality of t,he chosen evaluation plans.One assumption is that it is adequate to optimize for the expected case-that is, the case where various parameters (like available memory) take on their expected value.The other assumption is that the parameters are constant throughout the execution of the query.We present an algorithm based on the 'System R"-s@ile query optimization algorithm that does not rely on these assumptions.The algorithm we propose chooses the plan of the least expected cost instead of the plan of least cost given expected values of the parameters.In execution environments that exhibit a high degree of variability, our techniques should result in better performance.
Cited by 62 works. doi:10.1145/303976.303990 Open-access PDF
Authors
References
- Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference
- Access path selection in a relational database management system
- Query evaluation techniques for large databases
- Improved histograms for selectivity estimation of range predicates
- Randomized algorithms for optimizing large join queries
- Extensible/rule based query rewrite optimization in Starburst
- Join processing in database systems with large main memories
- Efficient mid-query re-optimization of sub-optimal query execution plans
- Cost-based query scrambling for initial delays
- Parametric query optimization