Try:
alter session set sql_trace = true
then you're update both with and without the trigger
enabled. This will show the statement(s) that are
causing the delay
hth
connor
- "Basavaraja, Ravindra"
<Ravindra.Basavaraja_at_T-Mobile.com> wrote: > Hi,
>
> I have an update statement that affects 1 record in
> a table.There is a trigger associated with this
> update that updates
> few other tables and not the parent table that will
> triiger the update trigger.
>
> With the trigger enabled the update of 1 record on
> the parent table takes about 40 seconds
> and without the trigger the update takes about 1
> second.
>
> When the updates are operating on different
> tables(locking not a issue) why do i see this delay
> in execution
> of the update statement.
>
> Thanks
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> --
> Author: Basavaraja, Ravindra
> INET: Ravindra.Basavaraja_at_T-Mobile.com
>
> Fat City Network Services -- 858-538-5051
> http://www.fatcity.com
> San Diego, California -- Mailing list and web
> hosting services
>
> 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).
>
Connor McDonald
web:
http://www.oracledba.co.uk
web:
http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com
"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day"
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
INET: hamcdc_at_yahoo.co.uk
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Feb 25 2003 - 04:29:18 CST