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: dbms_stats.gather_schema_stats

RE: dbms_stats.gather_schema_stats

From: gmei <gmei_at_incyte.com>
Date: Thu, 12 Jun 2003 13:07:17 -0700
Message-ID: <F001.005B0ADF.20030612124545@fatcity.com>


I have a nightly running script to execute DBMS_STATS.GATHER_TABLE_STATS on all tables in a schema. The schema has about 250 tables. This program 2-3 hours to finish.

Guang

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Mitchell
> Sent: Thursday, June 12, 2003 4:10 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: dbms_stats.gather_schema_stats
>
>
> Hi All
>
> May I know what is best interval to exec
> dbms_stats.gather_schema_stats on a
> instance with 300 tables that updated everyday.
>
> By the way, Anybody has any detailed command reference for
> dbms_stats. I am
> not sure for the following such as degree?
>
> execute dbms_stats.gather_schema_stats
>

> ownname ='FNSS',
> degree => 4,
> cascade => true
> );
>
> Thanks in advance
> Mitchell
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mitchell
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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.net
-- 
Author: gmei
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
Received on Thu Jun 12 2003 - 15:07:17 CDT

Original text of this message

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