Abstract | ||
---|---|---|
Predicate selectivity estimates are subject to considerable run-time variation relative to their compile-time estimates, often leading to poor plan choices that cause inflated response times. We present here a parametrized family of plan generation and selection algorithms that replace, whenever feasible, the optimizer's solely cost-conscious choice with an alternative plan that is (a) guaranteed to be near-optimal in the absence of selectivity estimation errors, and (b) likely to deliver comparatively stable performance in the presence of arbitrary errors. These algorithms have been implemented within the PostgreSQL optimizer, and their performance evaluated on a rich spectrum of TPC-H and TPC-DS-based query templates in a variety of database environments. Our experimental results indicate that it is indeed possible to identify robust plan choices that substantially curtail the adverse effects of erroneous selectivity estimates. In fact, the plan selection quality provided by our algorithms is often competitive with those obtained through apriori knowledge of the plan search and optimality spaces. The additional computational overheads incurred by the replacement approach are miniscule in comparison to the expected savings in query execution times. We also demonstrate that with appropriate parameter choices, it is feasible to directly produce anorexic plan diagrams, a potent objective in query optimizer design. |
Year | DOI | Venue |
---|---|---|
2010 | 10.14778/1920841.1920983 | PVLDB |
Keywords | Field | DocType |
anorexic plan diagram,alternative plan,erroneous selectivity estimate,poor plan choice,plan stability,plan generation,postgresql optimizer,plan cost,plan selection quality,plan search,tpc-ds-based query template,robust plan choice,query optimization,adverse effect,spectrum,online algorithm | Query optimization,Data mining,Mathematical optimization,Computer science,A priori and a posteriori,Database,Overhead (business) | Journal |
Volume | Issue | ISSN |
3 | 1-2 | 2150-8097 |
Citations | PageRank | References |
8 | 0.51 | 19 |
Authors | ||
5 |
Name | Order | Citations | PageRank |
---|---|---|---|
M. Abhirama | 1 | 8 | 0.51 |
Sourjya Bhaumik | 2 | 173 | 14.26 |
Atreyee Dey | 3 | 23 | 1.85 |
Harsh Shrimal | 4 | 8 | 0.51 |
Jayant R. Haritsa | 5 | 2004 | 228.38 |