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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Replication question

RE: Replication question

From: Robson, Peter <pgro_at_bgs.ac.uk>
Date: Mon, 24 Jun 2002 04:08:28 -0800
Message-ID: <F001.004853B8.20020624040828@fatcity.com>


On performance of triggers blocking update of primary keys.

There are two aspects to performance. First, that which impacts on cpu cycles etc, and secondly, that which impacts on the integrity of the fundamental database design. I regard the latter as crucial - and non-negotiable. The former is a function of secondary issues such as machine power, load, use profile etc etc.

You can see what I am going to say - if Oracle won't protect your PKs from modification, then you must do it yourself, and take any load into account when specifying your hardware platform. I do know of relational databases which will absolutely preclude modification of PKs. It ought to be a given with an RDBMS.

As for our situation - no, these triggers don't impact us noticeably, but then we don't run a high tp environment. But I tell you what - they give me enormouse peace of mind!

peter
edinburgh

> -----Original Message-----
> From: Lowes, Harry (NESL-IT) [mailto:Harry.Lowes_at_npowernorthern.com]
> Sent: 21 June 2002 13:37
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Replication question
>
>
> Peter,
>
> Great idea, but would you care to share the impact of these
> triggers on
> performance? I think it's a good principle to follow, but
> have always found
> triggers a little unwieldy for most operations myself. I
> would have thought
> this to be the case here, but I'd like to hear your experiences on the
> subject.
>
>
> Thanks awfully,
>
> Harry Lowes
> "My enthusiasm for both the job in hand and the welfare of my
> fellow man
> knows no bounds."
> Database Administrator and bon vivante,
> npower Northern Limited
>
>
>
> -----Original Message-----
> Sent: 21 June 2002 11:49
> To: Multiple recipients of list ORACLE-L
>
>
>
> Interesting comments on replication - but something hit me
> between the eyes.
>
> Primary Keys should NEVER, EVER be permitted to be updated,
> whether you are
> using replication or not. Its a basic tenent of relational
> design. We have
> been using triggers to prevent this for years.
>
> peter
> edinburgh
>
>
>
> *********************************************************************
> This e-mail message, and any files transmitted with it, are
> confidential and intended solely for the use of the addressee. If
> this message was not addressed to you, you have received it in error
> and any copying, distribution or other use of any part of it is
> strictly prohibited. Any views or opinions presented are solely those
> of the sender and do not necessarily represent those of the British
> Geological Survey. The security of e-mail communication cannot be
> guaranteed and the BGS accepts no liability for claims arising as a
> result of the use of this medium to transmit messages from or to the
> BGS. The BGS cannot accept any responsibility for viruses, so please
> scan all attachments. http://www.bgs.ac.uk
> *********************************************************************
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Robson, Peter
> INET: pgro_at_bgs.ac.uk
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Lowes, Harry (NESL-IT)
> INET: Harry.Lowes_at_npowernorthern.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Robson, Peter
  INET: pgro_at_bgs.ac.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Jun 24 2002 - 07:08:28 CDT

Original text of this message

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