Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: analyze a partitioned table

RE: analyze a partitioned table

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Thu, 03 Jan 2002 08:48:55 -0800
Message-ID: <F001.003E5EA9.20020103074018@fatcity.com>

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,

-----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: 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: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.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 - 10:48:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US