Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Fw: analyze a partitioned table
Ruth,
It is :
analyze table schema.table_name partition (partition_name) compute statistics;
Repeat for each of the six partitions.
I always do the delete statistics statement first. I've had problems in
the past with
bits of old statistics hanging around and wreaking havoc.
Cherie Machler
Oracle DBA
Gelco Information Network
"Ruth Gramolini" <rgramolini_at_tax.st To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> ate.vt.us> cc: Sent by: Subject: Fw: analyze a partitioned table root_at_fatcity.com 01/03/02 07:20 AM Please respond to ORACLE-L
>
>
> > Good morning everyone,
> >
> > Can anyone give me the command to analyze a partitioned tabled? To
> analyze
> > this table unpartitioned I use: analyze table schema.table_name
compute
> > statistics;
> >
> > I am partitioning it into 6 partitions and want to compute statistics
on
> > each partition.
> >
> > Thanks in advance,
> > Ruth
> >
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ruth Gramolini INET: rgramolini_at_tax.state.vt.us 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Cherie_Machler_at_gelco.com 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 Thu Jan 03 2002 - 11:42:18 CST