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: why anlyze and rebuilding generate lot of redo ?

Re: why anlyze and rebuilding generate lot of redo ?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 13 Mar 2002 21:04:48 +0000
Message-ID: <3C8FBEF0.1AAB@yahoo.com>


kw wrote:
>
> Hi all
>
> 8.1.7.0 on M$2000
>
> I use exec dbms_stats.gather_database_stats(); and then for every index
> in my app :
> "alter index XXX rebuild compute statistics;"
>
> After that there is 325 MB of new redo generated!!! (for both analyze
> and rebuilding indexes)
>
> Is there any way to avoid this huge redo generation ?
> Why ORACLE generate redo analyzing tables ?
>
> Thanks in advice
> Krzysztof Wlasiuk

Its probably the rebuild as others have noted.

If it actually is the analyze, maybe check your temporary tablespace defns. Analyze can do lots of sorts - if your temp tspace is "PERMANENT" then a lot more redo could be generated.

hth
connor

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

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Wed Mar 13 2002 - 15:04:48 CST

Original text of this message

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