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).

Reply via email to