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: help:dbms_stats vs. analyze

Re: help:dbms_stats vs. analyze

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Sun, 06 Jan 2002 20:42:10 +0000
Message-ID: <3C38B6A2.7AC4@yahoo.com>


a wrote:
>
> We have a scripts which will run every night to compare the num_rows in
> dba_table with the count(*) of the target tables, if not equal, we will
> analyze the table.
>
> Is there any advantage to switch to dbms_stats in terms of analyze results?
>
> Thanks for your help

You may want to check out ALTER TABLE .. MONITORING which will obviate the need for the "count(*)" to see if the table has changed.

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Sun Jan 06 2002 - 14:42:10 CST

Original text of this message

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