Sorry - forgot the compute clause:

analyze table {table} partition ({partition}) compute statistics;

likewise:

analyze index {index} partition ({partition}) compute statistics;

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Thursday, January 03, 2002 9:20 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'


Hi Ruth,

According to the docs, the command is :

analyze table {table} partition ({partition});

likewise:

analyze index {index} partition ({partition});


HTH

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Thursday, January 03, 2002 8:00 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: Mercadante, Thomas F
  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