Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] what difference between PK and unique index + not NULL??

Re: [Q] what difference between PK and unique index + not NULL??

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 18 Jan 2005 16:45:54 -0800
Message-ID: <bf463805011816454c7634e4@mail.gmail.com>


On Tue, 18 Jan 2005 11:27:49 -0800, Jacques Kilchoer <Jacques.Kilchoer_at_quest.com> wrote:
> The Oracle optimizer might view a PK constraint differently than a
> unique constraint on not null columns, one of the performance experts on
> the list could probably say a word or two about that.

http://www.dbazine.com/jlewis21.shtml

Jonathan does not mention the optimizer, though it appears from the article that the CBO may consider a UK with NOT NULL as identical to a PK.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 18 2005 - 20:49:46 CST

Original text of this message

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