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 -> Re: Impact of foreign key on insert or update to Parent table

Re: Impact of foreign key on insert or update to Parent table

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Wed, 09 Nov 2005 21:14:14 +0100
Message-ID: <dktkou$v8f$1@news6.zwoll1.ov.home.nl>


mavic.sood_at_gmail.com wrote:
> In case of a Foreign key constraint on the child table in a parent and
> child relationship, how does the Foreign key contraint impact the
> performance of any massive Insert or Update on the PARENT table?
> The specific scenario does not update the primary key of the parent
> table. This parent table primary key is the one that is used by the
> child table to define the foreign key.
>
> Would we see better performance for Insert or Update of records in
> PARENT table if we disabled the constraint on the child table?
>
> Thanks
>

What relation has the parent table to the child? None - hence no impact.

As for your suggestion - why not test it?

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Wed Nov 09 2005 - 14:14:14 CST

Original text of this message

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