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-----
From: Smith, Ron L. [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 1:08 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: Triggers are getting disabled
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.
--- "Smith, Ron L." <[EMAIL PROTECTED]> wrote:
> We have a DW that gets refreshed each night. Many of the tables are
> truncated. Several times during the nightly
> processing dozens of triggers are becoming disabled. Can anyone tell
> me
> what causes a trigger to become disabled?
>
> Ron Smith
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Smith, Ron L.
> INET: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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).
__________________________________________________
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
