RE: Better cardinality estimate when dialing optimizer_features_enable back

From: Allen, Brandon <>
Date: Tue, 24 Nov 2009 10:16:17 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E112E9EECDC_at_ONEWS06.oneneck.corp>

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.
Received on Tue Nov 24 2009 - 11:16:17 CST

Original text of this message