Re: The Case Against Compound/Natural Keys
- From: "Jared Still" <jkstill@xxxxxxxxx>
- To: Mark.Bobak@xxxxxxxxxxxxxxx
- Date: Mon, 29 Jan 2007 14:34:06 -0800
On 1/29/07, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxxxxx> wrote:
I guess I'm a little late to this party.
FYI, Steve Adams has a nice write up on his website of synthetic vs.
natural keys:
http://www.ixora.com.au/tips/design/synthetic_keys.htm
Steve is effectively saying "Consider your data, your application
and your use of the data to determine which kind of keys to use"
As has already been said: Normalization is a good thing. This
has been proven over, and over, and over.
Personally and in general, in an OLTP environment, I like natural keys in
lookup tables, and surrogate keys in volatile data. This use of surrogate
keys can save you much effort in the future when the business rules
change. (always a matter of 'when', not 'if')
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
- References:
- Re: The Case Against Compound/Natural Keys
- From: Don Seiler
- RE: The Case Against Compound/Natural Keys
- From: Bobak, Mark
Other related posts:
- » The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » RE: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
- » Re: The Case Against Compound/Natural Keys
I guess I'm a little late to this party. FYI, Steve Adams has a nice write up on his website of synthetic vs. natural keys: http://www.ixora.com.au/tips/design/synthetic_keys.htm
- Re: The Case Against Compound/Natural Keys
- From: Don Seiler
- RE: The Case Against Compound/Natural Keys
- From: Bobak, Mark