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: Deferred Triggers in 10g?

Re: Deferred Triggers in 10g?

From: Mladen Gogala <mgogala_at_adelphia.net>
Date: Sat, 08 May 2004 17:50:39 -0400
Message-ID: <pan.2004.05.08.21.50.38.956606@adelphia.net>


On Fri, 07 May 2004 11:57:03 -0700, Domenic wrote:

> Does Oracle support deferred triggers in 10g? I mean, only fired at
> commit time vs statement time?
>
> Domenic.

Oracle supports "after" statement triggers which will be fired after statement execution, thus causing the subsequent commit, but not the statement itself to fail. To my knowledge, it is the situation since Oracle7 (7.0 to be exact) and I haven't heard of any changes in Oracle 10g. Deferred constraints are supported since Oracle8. I would seriously question designs which would heavily rely on the commit processing, because "commit" is a global event which should make the outcome of my transaction permanent, and should, generally speaking, be of very short duration. I wouldn't want to have heavy validation and processing done during the commit time.

-- 
Trust me, I know what I'm doing. (Sledge Hammer)
Received on Sat May 08 2004 - 16:50:39 CDT

Original text of this message

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