Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Freezing database statistics
"Jaap W. van Dijk" <j.w.vandijk.removethis_at_hetnet.nl> wrote in message
news:454bbbb8.1436875_at_news.hetnet.nl...
> I wonder: will Oracle only use statistics that are gathered with the
> ANALYZE statement or DBMS_STATS, or also take other things into
> account, for instance the highwater mark of a table?
>
> If so, this cannot be frozen, so access plans could change even with
> frozen statistics.
>
> Regards, Jaap.
I haven't check 10g, but as of 8i and 9i the
optimizer only checked the HWM if there
were no stats on the table
-- Regards Jonathan Lewis http://jonathanlewis.wordpress.com Author: Cost Based Oracle: Fundamentals http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.htmlReceived on Fri Nov 03 2006 - 16:19:05 CST
![]() |
![]() |