|
I have a development database in which I set OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES to true with the hopes that further investigation would reveal a way to do automatic plan evolution without the tuning pack. Since I have found no way to do that I have turned off the setting and would like to delete the baselines.
(comments are locked)
|
|
DBMS_SPM.DROP_SQL_PLAN_BASELINE will delete a single baseline, so I suppose I could create a loop on DBA_SQL_PLAN_BASELINES to run this procedure. Here is the block of code I used:
(comments are locked)
|
|
The DROP_SQL_PLAN_BASELINE function will drop all plans if the plan name is not specified. Thanks for the input. The activity on this site never reached critical mass. Come on over to http://dba.stackexchange.com. It has only been around since January, but already has 50% more questions.
Apr 20 '11 at 05:27 PM
Leigh Riffel
(comments are locked)
|

