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"                                                   
                           
                    <[EMAIL PROTECTED]       To:     Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>  
                    ate.vt.us>               cc:                                       
                           
                    Sent by:                 Subject:     Fw: analyze a partitioned 
table                         
                    [EMAIL PROTECTED]                                                   
                           
                                                                                       
                           
                                                                                       
                           
                    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: [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: 
  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