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: nonunique index on unique values

Re: nonunique index on unique values

From: <yong321_at_yahoo.com>
Date: Wed, 29 Aug 2007 08:34:33 -0700
Message-ID: <1188401673.656967.243330@q5g2000prf.googlegroups.com>


On Aug 28, 3:22 pm, ciapecki <ciape..._at_gmail.com> wrote:
> hi,
>
> is there a big lost in performance if there is a nonunique index on
> the column that holds only unique values (like primary key)?
>
> thanks
> chris

If you mean a nonunique index, compared to a unique index, is used to enforce a unique constraint, there's performance penalty in terms of generated redo when you get error ORA-1 (unique constraint violated). See
http://orafaq.com/papers/oracle_redo_generation_wp.pdf

Yong Huang Received on Wed Aug 29 2007 - 10:34:33 CDT

Original text of this message

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