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: sequential waits -- how to proceed

Re: sequential waits -- how to proceed

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Tue, 17 Jun 2003 19:32:16 -0700
Message-ID: <F001.005B3943.20030617185959@fatcity.com>


Your pl/sql procedure is obviously doing a sql per row updated rather than a set update. Unless you change the procedure you can expect only marginal improvement from any other measure.

At 03:29 PM 6/17/2003 -0800, you wrote:
Hello ALL,

   Oracle ver is 9.2 running on EMC array. I am executing a pl/sql    procedure which does an update on a fact table. There is an unique    index on the fact, with clearly shows up in the explain plan for    udapte.
I ran 10046 event for a 18 min duration during this update process and then killed it.
On doing a tkprof on the trace file with waits set to Y, i get call count cpu elapsed disk query current   rows
------- ------ -------- ---------- ---------- ---------- ----------


Parse        1      0.00       0.00          0          0          0
     0
Execute 470509    238.31    1091.93     117854    1413284     479488
470508
Fetch        0      0.00       0.00          0          0          0
     0

------- ------ -------- ---------- ---------- ---------- ----------


total 470510 238.31 1091.94 117854 1413284 479488 470508
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 36 (NEVADMIN) (recursive depth: 1) Rows Row Source Operation
------- ---------------------------------------------------
 470508 UPDATE (cr=1413396 r=117854 w=0 time=1049454599 us)  470509 INDEX UNIQUE SCAN DM_ACTUAL_CASHFLOW_HIST_UK (cr=1411527 r=3916  w=0 time=49102823 us)(object id 31693)
Rows Execution Plan
------- ---------------------------------------------------

      0 UPDATE STATEMENT GOAL: CHOOSE  470508 UPDATE OF 'DM_ACTUAL_CASHFLOW_HIST'  470509 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF                'DM_ACTUAL_CASHFLOW_HIST_UK' (UNIQUE) Elapsed times include waiting on following events:

  Event waited on                             Times   Max. Wait  Total
  Waited

Sathish.

--

http://www.fastmail.fm - Same, same, but different…
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: [EMAIL PROTECTED]

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: [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). Wolfgang Breitling
Centrex Consulting Corporation
http://www.centrexcc.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Wolfgang Breitling
 INET: [EMAIL PROTECTED]
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: [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). Received on Tue Jun 17 2003 - 21:32:16 CDT

Original text of this message

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