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

Home -> Community -> Usenet -> c.d.o.server -> Re: Indexes and Foreign Keys

Re: Indexes and Foreign Keys

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Sun, 12 Mar 2006 11:58:58 +0100
Message-ID: <dv0u4t$3ho$1@news3.zwoll1.ov.home.nl>


Dereck L. Dietz wrote:
> I've read conflicting thoughts about indexes and foreign keys.
>
> One train of thought has it that you always create indexes for all foreign
> keys. The other train of thought said that not all foreign keys really need
> an associated index.
>
> Are there general rules of thumbs to use concerning this?
>
>

The ROT is to create indexes. Careful inspection will learn, not all foreign keys need indexes.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Sun Mar 12 2006 - 04:58:58 CST

Original text of this message

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