SQL Performance (MOSC)

MOSC Banner

12c optimizer generate bad plan, what will you do?

edited Mar 19, 2019 5:00AM in SQL Performance (MOSC) 7 commentsAnswered

Hi,

I am using Oracle 12.1.0.2 with

optimizer_features_enable=12.1.0.2

We have a SQL which return the result within 1-2 seconds in 11g but in 12c,

the same SQL generate an adaptive plan which ran hours...

I have to change optimizer_features_enable=11.2.0.3 to get the Oracle to generate back the good plan.

Does anyone know if there any better solution instead of limit the 12c optimizer functility?

Thanks

Pek

Tagged:

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