Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Design approaches about primary key
On Fri, 28 Nov 2003 22:52:00 +0100, "Sven Kolar"
<devnull_at_svenkolar.net> wrote:
>OLTP:
>Surrogate keys should IMHO be avoided in OLTP
>implementations. Main reason: avoiding excessive lookups
>during atomic-transaction SELECTs, UPDATEs and
>INSERTs (which are plentiful in a typical OLTP setup). This
>approach simplifies my access logic (client-side DML), plus
>lessens the load on the server (no lookup joins!) -- join-hashing
>notwithstanding.
>
Utter crap. Lookup tables should be in the keep buffer pool. And lookup tables are usually small.
-- Sybrand Bakker, Senior Oracle DBAReceived on Sat Nov 29 2003 - 12:57:38 CST