The performance of a query crucially depends on the ability of the query optimizer to choose a good execution plan from a large space of alternatives. With the discovery of algebraic transformation rules and the emergence of new applicationspecific contexts, extensibility has become a key requirement for query optimizers. This monograph describes extensible query optimizers in detail, focusing on the Volcano/Cascades framework used by several database systems including Microsoft SQL Server. We explain the need for extensible query optimizer architectures and how the optimizer navigates the search space efficiently. We then discuss several important transformations that are commonly used in practice. We describe cost estimation, an essential component that the optimizer relies upon to quantitatively compare alternative plans in the search space. We discuss how database systems manage plans over their lifetime as data and workloads change. We conclude with a few open challenges.
Article navigation
16 December 2024
Research Article|
December 16 2024
Extensible Query Optimizers in Practice Available to Purchase
Vivek Narasayya;
Vivek Narasayya
Microsoft Corporation
, USA
Search for other works by this author on:
Surajit Chaudhuri
Surajit Chaudhuri
Microsoft Corporation
, USA
Search for other works by this author on:
Online ISSN: 1931-7891
Print ISSN: 1931-7883
© 2024 B. Ding et al.
2024
B. Ding et al.
Licensed re-use rights only
Foundations and Trends in Databases (2024) 14 (3-4): 186–402.
Citation
Ding B, Narasayya V, Chaudhuri S (2024), "Extensible Query Optimizers in Practice". Foundations and Trends in Databases, Vol. 14 No. 3-4 pp. 186–402, doi: https://doi.org/10.1561/1900000077
Download citation file:
Suggested Reading
Social trust and the performance of foreign firms: evidence from an emerging market
Multinational Business Review (February,2025)
Reliability optimization in stochastic domain via genetic algorithm
International Journal of Quality & Reliability Management (May,2014)
Data caching and query processing in MANETs
International Journal of Pervasive Computing and Communications (August,2005)
Related Chapters
Structured Query Language (SQL): Grouping Data and Subqueries
Database Management Systems: A Business-oriented Approach Using ORACLE, MySQL, and MS Access
Part II: DataBase Development
Database Management Systems: A Business-oriented Approach Using ORACLE, MySQL, and MS Access
Building Web DataBase Applications
Database Management Systems: A Business-oriented Approach Using ORACLE, MySQL, and MS Access
Recommended for you
These recommendations are informed by your reading behaviors and indicated interests.
