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

Home -> Community -> Usenet -> c.d.o.misc -> Foreign Keys and Indexes

Foreign Keys and Indexes

From: <lolin_at_unexmail.ucdavis.edu>
Date: 1997/01/27
Message-ID: <854400901.13454@dejanews.com>#1/1

I was surprised to find that when I created a foreign key on a field in a child table that access to that table through the key hadn't improved.

Do I have to also create an index on the same field? Why can't Oracle use the implied index created for the foreign key? Seems like a waste to have to create a "second" index on the same field.

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Mon Jan 27 1997 - 00:00:00 CST

Original text of this message

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