Skip to main content

Execution Plan Optimization and Consistency

  • Chapter
  • 611 Accesses

Abstract

An execution plan describes how Oracle will retrieve the data to satisfy the results of a query. When you submit a SQL statement, the query optimizer quickly produces several execution plans and will determine which plan is most efficient. In most scenarios, the prior behavior results in a well-performing execution plan. However, you will encounter situations where you know additional details about your environment and need to adjust the optimizer’s choice of an execution plan. Listed next are features you can use to influence the decision path the optimizer uses when selecting a plan:

  • Initialization parameters

  • Statistics

  • Hints

  • SQL profiles

  • SQL plan management (plan baselines)

  • Stored outlines (deprecated in favor of plan baselines)

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Sam R. Alapati, Darl Kuhn, and Bill Padfield

About this chapter

Cite this chapter

Alapati, S.R., Kuhn, D., Padfield, B. (2011). Execution Plan Optimization and Consistency. In: Oracle Database 11g Performance Tuning Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3663-4_12

Download citation

Publish with us

Policies and ethics