تقرير
Sampling-Based Query Re-Optimization
العنوان: | Sampling-Based Query Re-Optimization |
---|---|
المؤلفون: | Wu, Wentao, Naughton, Jeffrey F., Singh, Harneet |
سنة النشر: | 2016 |
المجموعة: | Computer Science |
مصطلحات موضوعية: | Computer Science - Databases |
الوصف: | 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. Comment: This is the extended version of a paper with the same title and authors that appears in the Proceedings of the ACM SIGMOD International Conference on Management of Data (SIGMOD 2016) |
نوع الوثيقة: | Working Paper |
URL الوصول: | http://arxiv.org/abs/1601.05748 |
رقم الأكسشن: | edsarx.1601.05748 |
قاعدة البيانات: | arXiv |
الوصف غير متاح. |