Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Slow UPDATE

Slow UPDATE

From: Thomas Jeff <jeff.thomas_at_thomson.net>
Date: Fri, 14 May 2004 08:18:42 -0500
Message-ID: <358728A276824E419580403633AABFD0021F6186@INDYSMAIL03.am.thmulti.com>


We have an Informatica job that is crawling along attempting to update about
400K rows. There's nothing else running in the database. The job takes
over 17 hours to update all 400K records. The following is a tkprof from about
15 minutes of tracing. I'm at a loss to explain the physical and logical
I/O when the access path is via the PK. Any ideas? There's no chaining
and there are no other indexes.

UPDATE OD_CUST_LOCS SET CURR_KEY = :1, CUSTOMER_ID = :2, CREATED_BY_ID = :3,
  CHANGED_BY_ID = :4, CREATED_ON_DT = :5, CHANGED_ON_DT = :6, PSTL_GEO_LOC_ID

call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ----------

Parse 0 0.00 0.00 0 0 0 0
Execute 200 578.44 789.45 1852160 1936484 218 200
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ----------

total 200 578.44 789.45 1852160 1936484 218 200

Misses in library cache during parse: 0
Misses in library cache during execute: 1 Optimizer goal: CHOOSE
Parsing user id: 84 (IA2_USER)

Rows Execution Plan

-------  ---------------------------------------------------
      0  UPDATE STATEMENT   GOAL: CHOOSE
      0   UPDATE OF 'OD_CUST_LOCS'
      0    INDEX   GOAL: ANALYZED (UNIQUE SCAN) OF 'SYS_C0035425'
(UNIQUE)          

Elapsed times include waiting on following events:
  Event waited on                             Times   Max. Wait  Total
Waited
Jeffery D Thomas
DBA
Thomson Information Services
Thomson, Inc.

Email: jeff.thomas_at_thomson.net

Indy DBA Master Documentation available at: http://gkmqp.tce.com/tis_dba




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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Sat May 15 2004 - 09:50:59 CDT

Original text of this message

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