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: Triggers are getting disabled

RE: Triggers are getting disabled

From: Richard Huntley <rhuntley_at_mindleaders.com>
Date: Mon, 15 Jul 2002 06:38:27 -0800
Message-ID: <F001.00497DFF.20020715063827@fatcity.com>


Ron,

>From 9i docs:

Direct Loads, Integrity Constraints, and Triggers

With the conventional path load method, arrays of rows are inserted with standard SQL INSERT statements--integrity constraints and insert triggers are automatically applied. But when you load data with the direct path, SQL*Loader disables some integrity constraints and all database triggers. This section discusses the implications of using direct path loads with respect to these features.

If your nightly refresh is using direct load...browse the docs, it may be possible that the direct load is leaving some triggers disabled.

HTH,
Rich

-----Original Message-----
Sent: Friday, July 12, 2002 1:08 PM
To: Multiple recipients of list ORACLE-L

Do triggers fire when using direct load?

-----Original Message-----
Sent: Friday, July 12, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L

Triggers are disabled via ALTER TABLE...DISABLE TRIGGER... or ...DISABLE ALL TRIGGERS. It may well be that the refresh process issues such statements; reasons to do so might be to speed up the load process or if data populated by a trigger is already included in the data being loaded. If this is the case, any errors in the refresh process might cause the corresponding ENABLE statements not to be executed.

Even if a trigger's PL/SQL code becomes invalid due to change to an object on which it depends, AFAIK that wouldn't set it to disabled.


Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  INET: treegarden_at_yahoo.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: Smith, Ron L.
  INET: rlsmith_at_kmg.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: Richard Huntley
  INET: rhuntley_at_mindleaders.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).
Received on Mon Jul 15 2002 - 09:38:27 CDT

Original text of this message

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