Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Open Access Articles
  3. MIT Open Access Articles
  4. How I Learned to Stop Worrying and Love Re-optimization

How I Learned to Stop Worrying and Love Re-optimization

Thumbnail Image
Download
Name

1902.08291.pdf

Description
Submitted version
Size

389.69 KB

Format

Unknown

Checksum (MD5)

4cc2aa5bd19afdf525f235ecf314db9d

sword-2021-01-11T16:15:06.original.xml (130 B)
Original SWORD entry document
Author(s)
Perron, Matthew
•
Shang, Zeyuan
•
Kraska, Tim
•
Stonebraker, Michael
Date Issued
2019
Journal
Proceedings - International Conference on Data Engineering
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Version
Original manuscript
Abstract
© 2019 IEEE. Cost-based query optimizers remain one of the most important components of database management systems for analytic workloads. Though modern optimizers select plans close to optimal performance in the common case, a small number of queries are an order of magnitude slower than they could be. In this paper we investigate why this is still the case, despite decades of improvements to cost models, plan enumeration, and cardinality estimation. We demonstrate why we believe that a re-optimization mechanism is likely the most cost-effective way to improve end-to-end query performance. We find that even a simple re-optimization scheme can improve the latency of many poorly performing queries. We demonstrate that re-optimization improves the end-to-end latency of the top 20 longest running queries in the Join Order Benchmark by 27%, realizing most of the benefit of perfect cardinality estimation.
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Terms of Use
Creative Commons Attribution-Noncommercial-Share Alike
http://creativecommons.org/licenses/by-nc-sa/4.0/
Persistent DSpace Link
https://hdl.handle.net/1721.1/132279.2
DOI of Published Version
https://doi.org/10.1109/ICDE.2019.00191
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.