Skip to main content

Query Optimization

  • Chapter
  • First Online:
Database Design and Implementation

Part of the book series: Data-Centric Systems and Applications ((DCSA))

  • 2453 Accesses

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. 1214. 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics