SQL Performance (MOSC)

MOSC Banner

sql tuning advisor suggested better plan does not work any better.

edited Jun 28, 2016 10:20AM in SQL Performance (MOSC) 2 commentsAnswered ✓

Recently i came across a situation that i used sql tuning advisor on a problematic sql and it suggested a plan with benefit 93%.I accepted the plan and ran the query which pick up the sql profile...but the sql performance actually worse than original one.


Then i gathered stats using estimate_percent auto and ran sql tuning advisor again.... it suggested a different plan again with benefit 93%.I accepted the plan and ran the query which pick up the sql profile...but the sql performance did not improve.

I have used sql tuning advisor for a long time but this was the first time i came across such a thing that plans suggested by advisor twice did not work....

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