RE: Better cardinality estimate when dialing optimizer_features_enable back

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: Neil Kodner <nkodner@xxxxxxxxx>, oracle-l-freelists <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 24 Nov 2009 10:16:17 -0700

I just reviewed your initial post and I see from that it looks like you were 
already aware of what I stated below, so moving on - are you saying that it's 
coming up with different cardinality estimates for the exact same predicate, or 
just different estimates based on what literal value you plug in for prty_id=x?


From: Allen, Brandon


I pieced it together with a combination of stats from your 10053 and 10046 
traces - so looks like ("LETTER_BIN"."PRTY_ID"=102985) is the part where it's 
estimating incorrectly - might want to focus on your distribution and histogram 
for that column.


________________________________
Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: