Reader small image

You're reading from  Oracle Database 11g : Underground Advice for Database Administrators

Product typeBook
Published inApr 2010
PublisherPackt
ISBN-139781849680004
Edition1st Edition
Right arrow
Author (1)
April Sims
April Sims
author image
April Sims

April Sims is currently the Database Administrator at Southern Utah University and an Oracle Certified Professional: 8i, 9i, and 10g with a master's degree in Business Administration from the University of Texas at Dallas. Involved as a volunteer with the Independent Oracle Users Group for over 7 years, April is currently a Contributing Editor for the IOUG "SELECT" Journal. April is an annual presenter at Oracle OpenWorld, IOUG COLLABORATE, and numerous regional Oracle-related conferences.
Read more about April Sims

Right arrow

SQL Plan Management (SPM)


Making executions plans more stable plus adaptable to changes (system, dictionary, data) as they occur is the reasoning behind the SPM components of 11g. It is a major improvement to the stored outlines that have been a part of Oracle Database since version 8i. While stored outlines provided stability for a fixed optimized execution plan, it didn't have the features for storing, comparing, and verifying multiple plans. Hints, which are added to the actual SQL, are intended to provide guidance to the query optimizer for picking a certain execution plan. Hints will also require ongoing maintenance to prevent query regression as data changes.

This is the default SPM behavior:

  • SQL Plan Baseline Capture (Automatic)

    • OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES = true

    • First plan automatically accepted, new plans non-accepted

    • If Stored Outline exists, are enabled, and USE_STORED_OUTLINES=true, then manually migrate new plans. Disable stored outlines to use newer plans.

  • SQL Plan Baseline...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Database 11g : Underground Advice for Database Administrators
Published in: Apr 2010Publisher: PacktISBN-13: 9781849680004

Author (1)

author image
April Sims

April Sims is currently the Database Administrator at Southern Utah University and an Oracle Certified Professional: 8i, 9i, and 10g with a master's degree in Business Administration from the University of Texas at Dallas. Involved as a volunteer with the Independent Oracle Users Group for over 7 years, April is currently a Contributing Editor for the IOUG "SELECT" Journal. April is an annual presenter at Oracle OpenWorld, IOUG COLLABORATE, and numerous regional Oracle-related conferences.
Read more about April Sims