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: would nologging work on alter table add primary key ?

Re: would nologging work on alter table add primary key ?

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Thu, 17 Jul 2003 15:31:01 -0700
Message-ID: <3F1723A5.7ADB6168@exxesolutions.com>


Ted Chyn wrote:

> create index .. nologging can reduce the amount of redo generation.
> Is this true for ' alter table add constraint primary key ( ) using
> index tablespace '
>
> I did a test on this and found there is no reduction in redo generation when
> using 'alter table add constraint primary key' to create primary key index.
>
> my question:
>
> 1. Is my observation correct ?
> 2. If so why the difference ?
>
> thanks ted

Reduces overhead creating the index. What were you expecting? On every insert, update, and delete thereafter?

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Thu Jul 17 2003 - 17:31:01 CDT

Original text of this message

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