|
|
Archives of the TeradataForum
Message Posted: Tue, 08 Oct 2013 @ 20:14:01 GMT
Subj: | | Re: Expalin under estimating the stats calculation in 13.10 version |
|
From: | | Panchal, Hemanshu |
David Roth wrote:
| I would assume the issue is related to the fact theat the v12 estimated count is off also. Sounds like you do not have the right statistics
for the sub-query | |
Yes Dave, I am extracting year from a date field and joining the same with year field of other column, therefore I am not able to get exact
stats but how can I make optimizer to estimate near the value stats as currently its picking just 800 of actual value of 35000 whereas TD 12 over
estimates it to 2 million
Thanks
Hemanshu Panchal
TDCOE Team
Morgan Stanley
| |