How Good Are Query Optimizers, Really?

Viktor Leis, Andrey Gubichev, Atanas Mirchev, Peter Boncz, Alfons Kemper, Thomas Neumann

Publikation: Beitrag in Buch/Bericht/KonferenzbandKapitelBegutachtung

416 Zitate (Scopus)

Abstract

Finding a good join order is crucial for query performance. In this paper, we introduce the Join Order Benchmark (JOB) and experimentally revisit the main components in the classic query optimizer architecture using a complex, real-world data set and realistic multi-join queries. We investigate the quality of industrial-strength cardinality estimators and find that all estimators routinely produce large errors. We further show that while estimates are essential for finding a good join order, query performance is unsatisfactory if the query engine relies too heavily on these estimates. Using another set of experiments that measure the impact of the cost model, we find that it has much less influence on query performance than the cardinality estimates. Finally, we investigate plan enumeration techniques comparing exhaustive dynamic programming with heuristic algorithms and find that exhaustive enumeration improves performance despite the sub-optimal cardinality estimates.

OriginalspracheEnglisch
TitelProceedings of the VLDB Endowment
Herausgeber (Verlag)Association for Computing Machinery
Seiten204-215
Seitenumfang12
Auflage3
PublikationsstatusVeröffentlicht - 2016
Veranstaltung42nd International Conference on Very Large Data Bases, VLDB 2016 - New Delhi, Indien
Dauer: 5 Sept. 20169 Sept. 2016

Publikationsreihe

NameProceedings of the VLDB Endowment
Nummer3
Band9
ISSN (elektronisch)2150-8097

Konferenz

Konferenz42nd International Conference on Very Large Data Bases, VLDB 2016
Land/GebietIndien
OrtNew Delhi
Zeitraum5/09/169/09/16

Fingerprint

Untersuchen Sie die Forschungsthemen von „How Good Are Query Optimizers, Really?“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren