Ruth,
Pl check out dbms_stats package and gather_table_stats procedure in
particular.. 

Here is an example from my scripts.. 
execute dbms_stats.gather_table_stats ('DBM','CAMPAIGNS',NULL, NULL,
FALSE,'FOR ALL INDEXED COLUMNS SIZE 150',NULL,'ALL',TRUE,NULL,NULL, NULL);

HTH,

- Kirti 

-----Original Message-----
Sent: Thursday, January 03, 2002 7:20 AM
To: Multiple recipients of list 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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to