preprint · arXiv (Cornell University) · 2016
Sampling-Based Query Re-Optimization
Wentao Wu, Jeffrey F. Naughton, Harneet Singh
Cited by 17Open access
Abstract
Despite of decades of work, query optimizers still make mistakes on "difficult" queries because of bad cardinality estimates, often due to the interaction of multiple predicates and correlations in the data. In this paper, we propose a low-cost post-processing step that can take a plan produced by the optimizer, detect when it is likely to have made such a mistake, and take steps to fix it. Specifically, our solution is a sampling-based iterative procedure that requires almost no changes to the original query optimizer or query evaluation mechanism of the system. We show that this indeed imposes low overhead and catches cases where three widely used optimizers (PostgreSQL and two commercial systems) make large errors.
Cite this paper
Wu, W., Naughton, J. F., & Singh, H. (2016). Sampling-Based Query Re-Optimization. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1601.05748
Wu, Wentao, et al. “Sampling-Based Query Re-Optimization.” arXiv (Cornell University), 2016, https://doi.org/10.48550/arxiv.1601.05748.
Wu, Wentao, Jeffrey F. Naughton, and Harneet Singh. 2016. “Sampling-Based Query Re-Optimization.” arXiv (Cornell University). https://doi.org/10.48550/arxiv.1601.05748.
Wu, W., Naughton, J.F. and Singh, H. (2016) ‘Sampling-Based Query Re-Optimization’, arXiv (Cornell University). Available at: https://doi.org/10.48550/arxiv.1601.05748.
@misc{wu2016sampling,
title = {{Sampling-Based Query Re-Optimization}},
author = {Wu, Wentao and Naughton, Jeffrey F. and Singh, Harneet},
journal = {arXiv (Cornell University)},
year = {2016},
doi = {10.48550/arxiv.1601.05748}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.
Related papers
Log mining to support web query expansions
Patrick Ngok, Zhiguo Gong · IEEE International Conference on Information and Automation (ICIA) · 2009
Cited by 6
Distributed Query Plan Generation using Ant Colony Optimization
T. V. Vijay Kumar, Rahul Singh, Amit Kumar · International Journal of Applied Metaheuristic Computing · 2015
Cited by 12
Analysis of Query Optimizers
Ramineni Sharath Kumar · Journal of Computer Engineering and Information Technology · 2021
Cited by 0
Generating Query Plans for Distributed Query Processing Using Genetic Algorithm
T. V. Vijay Kumar, Shina Panicker · Lecture notes in computer science · 2011
Cited by 4
A Data-Driven Query Processing Method for Stream Data
Meekyung Min · Journal of Digital Contents Society · 2007
Cited by 0
Query Optimization in Uncertain and Probabilistic Databases
Vivek V. Kheradkar, India vivek, Suresh Shirgave · Research Square · 2023
Cited by 2Open access
Generating Distributed Query Processing Plans Using Genetic Algorithm
T. V. Vijay Kumar, Vikram Singh, Ajay Kumar Verma · Data Storage and Data Engineering · 2010
Cited by 18