Вы находитесь на странице: 1из 3

TKPROF: Release 11.2.0.4.

0 - Development on Tue Sep 9 07:38:10 2014


Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Trace file: trial8_ora_3310_INFORM_MARK_VERIFY.trc
Sort options: prsela exeela fchela
********************************************************************************
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
********************************************************************************
select * from
(select Q.*, rownum rnum from
(

SELECT
T.siteID, T.subjectID, T.visitID, T.visitIndex, T.formID, T.formRev, T.formI
ndex
FROM
rt_activated_forms T, rt_subject S
WHERE
T.formtype = 1 AND
T.deletedstate = 0 AND
T.deleteddynamicformstate = 0 AND
T.STARTEDSTATE = 1 AND
S.SUBJECTID = T.SUBJECTID AND
S.SUBJECTEVERENROLLED=1 AND
T.SITEID IN (SELECT SITEID FROM RT_USER_SITES WHERE USERID = :userid) AND
T.visitid IN (:visitid0) AND (T.COUNTOPENQUERIES > 0)
) Q where rownum <= :MaxRowNum
) where rnum >= :MinRowNum
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 3 0.07 0.07 2 20342 0 82
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.08 0.08 2 20342 0 82
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 66
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- ----------------------------------------------
-----
41 41 41 VIEW (cr=10174 pr=2 pw=0 time=13829 us cost=6
24 size=4264 card=41)
41 41 41 COUNT STOPKEY (cr=10174 pr=2 pw=0 time=13783
us)
41 41 41 NESTED LOOPS (cr=10174 pr=2 pw=0 time=13781
us cost=624 size=3192 card=42)
41 41 41 NESTED LOOPS (cr=10133 pr=2 pw=0 time=1357
3 us cost=624 size=3192 card=42)
41 41 41 NESTED LOOPS (cr=10087 pr=2 pw=0 time=132
28 us cost=582 size=2838 card=43)
812 812 812 INDEX RANGE SCAN RT_USER_SITES_PK (cr=4 p
r=0 pw=0 time=136 us cost=2 size=1140 card=95)(object id 34082)
41 41 41 TABLE ACCESS BY INDEX ROWID RT_ACTIVATED_
FORMS (cr=10083 pr=2 pw=0 time=37472 us cost=16 size=54 card=1)
10220 10220 10220 INDEX RANGE SCAN IRI_ACTIVATED_FORMS_02
(cr=196 pr=0 pw=0 time=5175 us cost=2 size=0 card=15)(object id 34287)
41 41 41 INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=46 pr=
0 pw=0 time=198 us cost=0 size=0 card=1)(object id 34089)
41 41 41 TABLE ACCESS BY INDEX ROWID RT_SUBJECT (cr=
41 pr=0 pw=0 time=97 us cost=1 size=10 card=1)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
db file sequential read 2 0.00 0.00
SQL*Net message from client 3 0.00 0.00
********************************************************************************
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 3 0.07 0.07 2 20342 0 82
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.08 0.08 2 20342 0 82
Misses in library cache during parse: 1
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 675 0.00 0.00
SQL*Net message from client 674 53.82 94.90
db file sequential read 2 0.00 0.00
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 0 0.00 0.00 0 0 0 0
Execute 0 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 0 0.00 0.00 0 0 0 0
Misses in library cache during parse: 0
1 user SQL statements in session.
0 internal SQL statements in session.
1 SQL statements in session.
********************************************************************************
Trace file: trial8_ora_3310_INFORM_MARK_VERIFY.trc
Trace file compatibility: 11.1.0.7
Sort options: prsela exeela fchela
1 session in tracefile.
1 user SQL statements in trace file.
0 internal SQL statements in trace file.
1 SQL statements in trace file.
1 unique SQL statements in trace file.
2349 lines in trace file.
96 elapsed seconds in trace file.

Вам также может понравиться