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: ANALYZE command question.

Re: ANALYZE command question.

From: Connor McDonald <mcdonald.connor.cs_at_bhp.com.au>
Date: 1997/03/04
Message-ID: <331BBD89.7870@bhp.com.au>#1/1

Dana Stockler wrote:
>
> I am periodically running a batch job that dynamically
> generates and executes a script which executes the
> ANALYZE command on all of the tables in the database
> (except user SYS% tables).
>
> The command executed is:
>
> analyze table <tablename> compute statistics ;
>
> Is this enough to allow the cost-based query optimizer
> to do it's job well enough? Or should I be using one of the
> 'for' clauses?
>
> I have the feeling that what I'm currently doing is perhaps
> too simple. Any suggestions would be appreciated.
>
> -
> Regards,
> Dana

That is fine...

-- 
Connor McDonald
Systems Administrator-Unix/Oracle
BHP Iron Ore
"You're not drunk if you can lie on the floor without holding on"
            - Dean Martin
Received on Tue Mar 04 1997 - 00:00:00 CST

Original text of this message

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