Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Normalization, Natural Keys, Surrogate Keys
> * we can efficiently join across columns (assuming a NUMBER(16) in
> Oracle or an INT in Sybase), we're looking at four bytes, and
> * our implementation is independent of the business requirements
> without losing the business requirments
> * our index density is very high so index range scans/'covering an
> index' is extremely efficient
>
> What's key (pun intended! <go>) is that surrogate keys and natural
> keys can peacefully co-exist. Kumbaya, kumbaya ...
I suppose there's 3 things I'm concerned about here:
I'm keen to learn more, so how can your 'surrogate key' version communicate the same thing as a composite primary key? I now have to examine the parent/buesiness rules to realise what it's 'real ' key is, since you've replaced it with a surrogate key. BTW, I'm not going to argue about the performance issues, although database vendors could probably create their own surrogate keys internally to replace the composite key. Which would remove the performance probs. (I'm thinking on the fly here, so be gentle)
Tobin Harris
> Pablo Sanchez, High-Performance Database Engineering
> mailto:pablo_at_hpdbe.com
> http://www.hpdbe.com
> Available for short-term and long-term contracts
>
>
Received on Thu May 16 2002 - 18:03:02 CDT
![]() |
![]() |