Histograms - Literals Vs Bind Variable - 10g and 11g
edited May 29, 2011 4:00PM in Database ORA-600 / ORA-7445 Analysis , Diagnostic Repository (ADR) & Packaging (MOSC) 4 commentsAnswered
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
0