Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SPM plan locking and detection of new plans

949401Jul 16 2012 — edited Jul 16 2012
I've searched Oracle's documentation and wanted to confirm my understanding on a few SPM questions:

Does enabling SPM (setting OPTIMIZER_USE_SQL_PLAN_BASELINES to TRUE) for a database and having previously captured SQL plans, effectively lock all the plans for subsequent executions of the captured SQL statements?


Must automatic plan capture be running all of the time in order to know whether the optimizer is coming up with new plans for your SQL baselines? If it was OFF it seems that any new plans for statements in your baseline would always be ignored and you'd be ignorant of new plans.

Thank you,

Richard
This post has been answered by Dom Brooks on Jul 16 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2012
Added on Jul 16 2012
8 comments
506 views