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: truncate /*+append*/

Re: truncate /*+append*/

From: <thomas.kyte_at_oracle.com>
Date: 3 Mar 2006 08:14:19 -0800
Message-ID: <1141402459.659701.130480@i39g2000cwa.googlegroups.com>


Mladen Gogala wrote:
> On Fri, 03 Mar 2006 11:06:00 +0100, Holger Baer wrote:
>
> > According to the expert, no undo will be generated *IF USING NOLOGGING* option.
> > Try to read and understand what you cite.
> >
> > Regards,
> > Holger
>

that is not what I've said - insert /*+ APPEND */ will bypass UNDO generation for the table data (but not any indexes on said table).

It will bypass redo generation for the table (but never the indexes) IF the database is noarchivelog OR nologging has been set on the table, else full logging is performed for the table data (then there is that force logging that can affect this as well at the database level)

undo to protect the dictionary (and redo) entries that are made to advance the high water mark will of course be generated.

> The trick with the direct insert and undo is that the "old value" doesn't
> exist, so there will not be massive undo generation, period. As for
> calling upon the authority of experts, I disagree with that as a matter of
> principle. I suspect that Tom Kyte also may be proven wrong from time to

indeed.

> time as he's probably human, just like the rest of us. Tom Kyte is a great

I am. One of my mantras is "Question Authority", use it in most all of my seminars as the THEME in fact.

> and extremely knowledgeable guy, but checking works best for me. This is
> nothing personal: I even check things that Jonathan Lewis says, although
> he is definitely more then a mere human.

hmmm ;)

>
>
> --
> http://www.mgogala.com
Received on Fri Mar 03 2006 - 10:14:19 CST

Original text of this message

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