Database ORA-600 / ORA-7445 Analysis , Diagnostic Repository (ADR) & Packaging (MOSC)

MOSC Banner

Histograms - Literals Vs Bind Variable - 10g and 11g

 
Hi,

Can someone please confirm in 10g database, in order for the optimizer to use the histograms, the code needs to use literals? i.e. if the code is using bind variables, even though we have histogram on columns with skewed values, the optimizer will ignore the histogram

Also, has this behavior changed in 11g?

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