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: slow update and db trigger

Re: slow update and db trigger

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Wed, 19 Feb 2003 16:28:56 -0800
Message-ID: <F001.0055255D.20030219162856@fatcity.com>


It sounds like the triggers / procedures may have different logic depending on the row being updated. Or possibly the same logic results in a large number of rows being queried / modified by one of the procedures.

Have you looked at the trigger and procedures to understand what they are doing? There may be opportunities to tune them. Perhaps you could trace the session to see what is happening, but it might be easier to look at the code.

Regards,

     Mark.

                                                                                                                             
                    "Basavaraja, Ravindra"                                                                                   
                    <Ravindra.Basavaraja_at_T-M       To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    obile.com>                     cc:                                                                       
                    Sent by:                       Subject:     slow update and db trigger                                   
                    root_at_fatcity.com                                                                                         
                                                                                                                             
                                                                                                                             
                    20/02/2003 10:41                                                                                         
                    Please respond to                                                                                        
                    ORACLE-L                                                                                                 
                                                                                                                             
                                                                                                                             




I have an update statement executed by a procedure.This update statements fires a trigger which has a set of update statements and also executes 2 procedures.

If i execute the parent update statement which will affect a single row from a table which has significantly less number of rows.This statement sometimes is executed very fast and sometimes it takes upto 50 seconds.Does this slowness got to do anything with the triggers that get fired automatically .For me this update is a single piece of transaction.Why do i see the delay in this update statements.

Thanks
Ravindra

--
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).





<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (61 3) 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban City Link Ltd shall be understood as neither given nor endorsed by it. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mark Richard INET: mrichard_at_transurban.com.au 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 Wed Feb 19 2003 - 18:28:56 CST

Original text of this message

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