RE: Primary Keys optional?
- From: "Jesse, Rich" <Rich.Jesse@xxxxxx>
- To: <jkstill@xxxxxxxxx>
- Date: Fri, 18 Aug 2006 16:12:11 -0500
Wierd! I was just having a PK-vs-UniNN discussion with a co-worker.
Our current ERP (which shall remain nameless) also doesn't use PKs. At
some point on 8.1.7 or 9.2.0.5, we had a poorly performing query (go
figure). One of the tables involved had a segmented unique key whose
member columns also each had a NN constraint. Converting this to a
segmented PK gave me a different explain plan. As I recall, it was
better, but it's been awhile.
Has anyone else ever seen this? There's no way I could hope to have the
time to reproduce it now... :( And I may have already drowned the
brain cells responsible for the majority of that particular memory, so
there's that caveat.
Rich
________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jared Still
Sent: Friday, August 18, 2006 11:29 AM
To: Brandon.Allen@xxxxxxxxxxx
Cc: andert@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: Re: Primary Keys optional?
[snip]
SAP is similar. They do not use RI nor PK. They do have unique indexes
with NOT NULL columns, so PK can be created if necessary. (Think
replication)
[snip]
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
- Follow-Ups:
- Re: Primary Keys optional?
- From: Niall Litchfield
- References:
- Re: Primary Keys optional?
- From: Jared Still
Other related posts:
- » Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » Re: Primary Keys optional?
- » RE: Primary Keys optional?
- Re: Primary Keys optional?
- From: Niall Litchfield
- Re: Primary Keys optional?
- From: Jared Still