Database Tuning (MOSC)

MOSC Banner

SQL tuning fixated on restructure

Hi,

have a query that sometimes pick a bad plan when value has high cardinality.

have run the tuning advisor but it only recommends a restructure when the issue is elsewhere.

version 12.2

query is

where column = <value> #this is the value that influences the plan

and Decode(blah)=decode(blah). # this is the part oracle recommends restructuring


why does the tuning advisor not get to the issue?


thanks

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