Abstract
The basic planner of Chap. 10 uses a simple algorithm to create its query plans. Unfortunately, those plans often entail significantly more block accesses than needed, for two basic reasons: the operations are performed in a suboptimal order, and they do not take advantage of the indexed, materialized, or multibuffer implementations of Chaps. 12–14. This chapter examines how the planner can address these problems and generate efficient plans. This task is called query optimization. The most efficient plan for a query can be several orders of magnitude faster than a naïve plan, which is the difference between a database engine that can respond to queries in a reasonable amount of time and a database engine that is completely unusable.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Sciore, E. (2020). Query Optimization. In: Database Design and Implementation. Data-Centric Systems and Applications. Springer, Cham. https://doi.org/10.1007/978-3-030-33836-7_15
Download citation
DOI: https://doi.org/10.1007/978-3-030-33836-7_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-33835-0
Online ISBN: 978-3-030-33836-7
eBook Packages: Computer ScienceComputer Science (R0)