Re: SQL Plan Management

From: David Fitzjarrell <>
Date: Tue, 1 Oct 2013 14:10:32 -0700 (PDT)
Message-ID: <>

How do you have optimizer_features_enable set in the 11.2 database?

David Fitzjarrell  

 From: Lyall Barbour <> To: oracle-l <> Sent: Tuesday, October 1, 2013 3:01 PM
Subject: SQL Plan Management   

Hello everyone,
I'm in the middle of upgrading our databases to I'm trying to get SQL Plan Management to make the 11g database run all our queries the same as 10g was. This is what i did

1) Upgraded a database, which flushed SQL Cache memory
2) Created a Tuning Set on the Production database, with about 12k sql plans
3) Packed that set
4) expdp the tables (forget what they are called)
5) imported that dump into the 11g database
6) unpacked that Tuning Set
7) Loaded as a Baseline.

Everything looked good, i can see the Tuning Set, i can see all the Plans in the Baseline. But when i run this one query in 11g, and it *looks* like it's using the Baseline, it's really slow and the plan looks nothing like the 10g plan in our current Prod database. I have the OPTIMIZER_USE_SQL_PLAN_BASELINES set to true (default) Did i miss a step?
Lyall Barbour


-- Received on Tue Oct 01 2013 - 23:10:32 CEST

Original text of this message