Affiliation
Department of Computer Science, University of ArizonaOffice of Budget and Planning, University of Arizona
Issue Date
2021-09-20
Metadata
Show full item recordPublisher
Springer Science and Business Media LLCCitation
Snodgrass, R. T., Currim, S., & Suh, Y.-K. (2021). Have query optimizers hit the wall? VLDB Journal.Journal
VLDB JournalRights
© The Author(s), under exclusive licence to Springer-Verlag GmbH Germany, part of Springer Nature 2021.Collection Information
This item from the UA Faculty Publications collection is made available by the University of Arizona with support from the University of Arizona Libraries. If you have questions, please contact us at repository@u.library.arizona.edu.Abstract
The query optimization phase within a database management system (DBMS) ostensibly finds the fastest query execution plan from a potentially large set of enumerated plans, all of which correctly compute the specified query. Occasionally the cost-based optimizer selects a slower plan, for a variety of reasons. We introduce the notion of empirical suboptimality of a query plan chosen by the DBMS, indicated by the existence of a query plan that performs more efficiently than the chosen plan, for the same query. From an engineering perspective, it is of critical importance to understand the prevalence of suboptimality and its causal factors. We examined the plans for thousands of queries run on four DBMSes, resulting in over a million query executions. We previously observed that the construct of empirical suboptimality prevalence positively correlated with the number of operators in the DBMS. An implication is that as operators are added to a DBMS, the prevalence of slower queries will grow. Through a novel experiment that examines the plans on the query/cardinality combinations, we present evidence for a previously unknown upper bound on the number of operators a DBMS may be able to support before performance suffers. We show that this upper bound may have already been reached.Note
12 month embargo; published: 20 September 2021ISSN
1066-8888EISSN
0949-877XVersion
Final accepted manuscriptSponsors
National Science Foundationae974a485f413a2113503eed53cd6c53
10.1007/s00778-021-00689-y
