TKPROF: Release 9.2.0.6.0 - Production on Tue May 4 09:35:10 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Trace file: trace_bi_pic_20100504.trc
Sort options: exeela
********************************************************************************
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
********************************************************************************
-- Update APPROVAL_START_TIME, APPROVAL_DURATION in seconds for all REQ_APPROVALLOG Groups except the --first Approver group
UPDATE REQ_APPROVALLOG a1
SET (APPROVAL_START_TIME, APPROVAL_DURATION) =
(SELECT MAX(a2.APPROVAL_END_TIME), (a1.APPROVAL_END_TIME - MAX(a2.APPROVAL_END_TIME)) * 86400
FROM REQ_APPROVALLOG a2
WHERE a1.REQUEST_ID = a2.REQUEST_ID
AND a1.DATA_SOURCE = a2.DATA_SOURCE
AND a1.APPROVAL_END_TIME > a2.APPROVAL_END_TIME)
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 3650.57 11464.30 36870551 775598366 61054 26954
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 3650.57 11464.30 36870551 775598366 61054 26954
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 46 (BI_PICASSO)
Rows Row Source Operation
------- ---------------------------------------------------
0 UPDATE
26954 TABLE ACCESS FULL REQ_APPROVALLOG
26944 SORT AGGREGATE
170 TABLE ACCESS FULL REQ_APPROVALLOG
Rows Execution Plan
------- ---------------------------------------------------
0 UPDATE STATEMENT GOAL: CHOOSE
0 UPDATE OF 'REQ_APPROVALLOG'
26954 TABLE ACCESS GOAL: ANALYZED (FULL) OF 'REQ_APPROVALLOG'
26944 SORT (AGGREGATE)
170 TABLE ACCESS GOAL: ANALYZED (FULL) OF 'REQ_APPROVALLOG'
Partager