Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: question regarding statistics
One more point worth making - the default behaviour for dbms_stats may do different things from the apparently identical analyze call.
For example,
analyze table t compute statistics
cascades to analyzing the index by default
dbms_stats.gather_table_stats(user,'t')
does not cascade. (And the defaults
for the other parameters keep changing
with each release of Oracle as well).
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Public Appearances - schedule updated Jan 21st 2005
Bryan Wells wrote:
>i may have asked this once before, so if it is indeed redundant i
>appologize:
>
>is there a difference in analyze and compute statistics?
>
>
You probably mean whether there is adifference between DBMS_STATS and
analyze. There are several,
differences and we can divide them in two groups:
More detail in Note:114671.1
-- Mladen Gogala Oracle DBA Ext. 121 -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Mon Mar 07 2005 - 14:35:32 CST