Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: does unique constraints hurt insert performance
<sunh11373_at_gmail.com> wrote in message
news:1155426742.867263.327670_at_p79g2000cwp.googlegroups.com...
> Hi,
>
> If I have a table which has 1 billion rows (data in each row is
> relatively small), delcare one column (not the primary key column) as
> unique, will this cause big problem for inserting?
> Assume the inserting rate is 500/sec and the possible duplication is
> 0.001%.
>
> Thanks
>
That's a question worth a bit of discussion, so I've put jotted down a few thoughts in a short article on my website.
http://www.jlcomp.demon.co.uk/unique_constraint.html
-- Regards Jonathan Lewis http://www.oracle.com/technology/community/oracle_ace/ace1.html#lewis The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html Cost Based Oracle: Fundamentals http://www.jlcomp.demon.co.uk/cbo_book/ind_book.htmlReceived on Sun Aug 13 2006 - 13:08:51 CDT
![]() |
![]() |