Database Tuning (MOSC)

MOSC Banner

how to purge all baselines

edited Oct 28, 2011 6:07AM in Database Tuning (MOSC) 5 comments
Hi,

I'm using Oracle 11.2, somehow optimizer_capture_sql_plan_baselines has been turn on and running for weeks, now we have about 4 million of baseline created in the DB.

I know i can drop the baseline using DBMS_SPM.DROP_SQL_PLAN_BASELINE, but then i need to do one by one, even if i spool to a file, i have 4 million of lines, is there any other way i can removed all in one run?

 

Thanks for any advise

best regards

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center