Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: dbms_utility and dbms_stat difference
Hi Cherie,
> I can't speak for dbms_utility but dbms_stats is supposed to generate
> statistics at both the partition level and at the table level for
> partitioned tables, which analyze does not do.
A small correction, ANALYZE also generates statisics at partition level
and when an "analyze table <name> compute statistics" is done it
generates statistics for the partitions.
Analyze can also be run at the partition level as "analyze table <name>
part (<pname>) compute statistics" and this will generate statistics
only for that paritition.
Its very useful as analyze can be run for the partitions of a table in
parallel and so its a blessing when running analyze on huge partitioned
tables.
One of the big differences between analyze and dbms_stats is that analye cannot be run in parallel on a non partitioned table and definitely runs better in my opinion in general.
Hope this helps.
Regards,
Madhavan
http://www.dpapps.com
-- Madhavan Amruthur DecisionPoint Applications -- http://fastmail.fm - In the time it takes you to read this, you could be FastMailing -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Madhavan Amruthur INET: mad5698_at_fastmail.fm Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Aug 21 2002 - 14:03:53 CDT
![]() |
![]() |