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

Home -> Community -> Usenet -> c.d.o.server -> Re: In search of script to generate analyze command

Re: In search of script to generate analyze command

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Thu, 21 Oct 2004 22:30:10 -0700
Message-ID: <1098422957.935414@yasure>


Patrick Burns wrote:

> I am in search of a generic script that will run everyday in our
> nightly cycle and write to an sql file an analyze statement if a
> certain percentage of the rows have changed, 20%. Then every weekend
> use dbms_stats to analyze the tables and indexes.
>
> I have seen these types of things in this group but can't seem to find
> one around.

Why a strong desire to use the wrong tool and reinvent the wheel.

Go to http://tahiti.oracle.com and look up DBMS_STATS.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Fri Oct 22 2004 - 00:30:10 CDT

Original text of this message

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