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: NOLOGGING and index

Re: NOLOGGING and index

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 17 Oct 2001 10:40:00 -0700
Message-ID: <9qkfpg01ggh@drn.newsguy.com>


In article <9qjnt0$1po0$1_at_ns.felk.cvut.cz>, "Ales says...
>
>Hi again,
>I see I was a bit verbose last week, so I try to summarize it:
>
>I found that in case of direct-load INSERT, indexes on the populated
>NOLOGGING table generate significant amount of redo regardless of their
>NOLOGGING status.
>
>Could anybody confirm or disconfirm that?
>
>Thanks in advance,
>Ales
>
>
>
>

Yes, it makes sense when you think about it...

The TABLE data is just written above the HWM. If we need to "rollback", we just never advance the HWM.

For the indexes however, a complex data structure, our new data is intermingled with the old data. In the event of a rollback -- we have to be able to UNDO all of the work we just did to that index.

the direct path insert can be used to load a table without much redo genearation but the indexes must be fully protected as we load.

--
Thomas Kyte (tkyte@us.oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Wed Oct 17 2001 - 12:40:00 CDT

Original text of this message

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