RE: Better cardinality estimate when dialing optimizer_features_enable back

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: