Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Why does optimizer determine wrong cardinality when using MOD function? test included
I believe in 10g the default is 'FOR ALL COLUMNS SIZE AUTO'.
In 10g, I believe oracle checks the sys.col_usage$ to see how a column
has been used to determine the proper # of buckets when "AUTO" option
is used for method_opt.
I tried my little example with 'FOR ALL COLUMNS SIZE 200' and it still
incorrectly estimates the
number of rows returned.
thanks for the feedback though!
--peter
Received on Wed Nov 16 2005 - 15:55:07 CST
![]() |
![]() |