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: [SOLVED for good] performance tuning questions: replace IN (values) by JOIN

Re: [SOLVED for good] performance tuning questions: replace IN (values) by JOIN

From: tojo <Tojo_at_hotmail.com>
Date: Mon, 1 Sep 2003 12:18:13 +0200
Message-ID: <MPG.19bd3b5393457b6e9896a2@news.t-online.de>


In article <3f5315cd$0$10359$afc38c87_at_news.optusnet.com.au>, howardjr2000_at_yahoo.com.au says...
>
> Quite the opposite. Foreign keys nearly always *ought* to have indexes, but
> never do unless one makes it so. Terrible locking issues arise when
> non-indexed foreign keys are in place, and someone decides to update the
> parent table... Ugh!
>

Howard,

isn't there only a locking issue if you update the primary key of the parent table? Updating other fields should be OK. Please correct me if I'm wrong.

Received on Mon Sep 01 2003 - 05:18:13 CDT

Original text of this message

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