Sie sind auf Seite 1von 137

TKPROF: Release 11.2.0.4.

0 - Development on Tue Dec 16 08:43:52 2014


Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Trace file: trial9_ora_17051_INFORM_ANSWER_CLOSE_QUERY.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
********************************************************************************
The following statements encountered a error during parse:
SELECT 1 FROM DUAL WHERE t.QUERYID = v.QUERYID
Error encountered: ORA-00904
-------------------------------------------------------------------------------SELECT 1 FROM DUAL WHERE T.SUBJECTVISITID = V.SUBJECTVISITID AND T.FORMID=V.FORM
ID AND T.FORMINDEX=V.FORMINDEX
Error encountered: ORA-00904
-------------------------------------------------------------------------------SELECT 1 FROM DUAL WHERE T.CONTEXTID = V.CONTEXTID
Error encountered: ORA-00904
********************************************************************************
SQL ID: 23pyh9ym4y3w1 Plan Hash: 360536995
MERGE INTO RT_ITEMSTATE T USING (SELECT TEMP.*, DECODE(IO.ISCRITICAL,NULL, 0,
1) ITEMSDVOVERRIDE, DECODE(FO.FORMCRITICAL,1,DECODE(IDF.SDVREQUIRED, 1, 1,
0), DECODE(FD.SDVCRITICAL, 1, DECODE(IDF.SDVREQUIRED,1,1,0),
DECODE(PO.INCRITICALPOOL, 1, DECODE(IDF.SDVREQUIRED, 1,1,0),
DECODE(IO.ISCRITICAL,1,1,0,0,DECODE(IDF.SDVCRITICAL,1,1,0,0) ) ) ) )
ITEMSDVSELECTED FROM (SELECT * FROM RV_ITEMSTATE_1 WHERE CONTEXTID IN
(SELECT CONTEXTID FROM RT_QUERY WHERE QUERYTRANSID=:B1 )) TEMP, RV_ITEM_OW
IO, RV_ITEM_DF IDF, RV_POOL_OW PO, RV_FORM_OW FO, RV_FORM_DF FD WHERE
NVL(TEMP.ITEMSETID,TEMP.ITEMID) = IO.ITEMID (+) AND TEMP.FORMID = IO.FORMID
(+) AND TEMP.SITEID = IO.SITEID (+) AND TEMP.SUBJECTID = IO.SUBJECTID (+)
AND NVL(TEMP.ITEMSETID,TEMP.ITEMID) = IDF.ITEMID AND TEMP.SUBJECTID =
PO.PATIENTID (+) AND TEMP.SITEID = PO.SITEID (+) AND TEMP.FORMID =
FO.PAGEID (+) AND TEMP.SITEID = FO.SITEID (+) AND TEMP.FORMID = FD.PAGEID )
V ON (T.CONTEXTID = V.CONTEXTID) WHEN MATCHED THEN UPDATE SET T.SITEID=
V.SITEID, T.MAXAUDITORDER=V.MAXAUDITORDER, T.MINCONTEXTREV=V.MINCONTEXTREV,
T.MAXCONTEXTREV=V.MAXCONTEXTREV,T.DATATRANSACTIONID=V.DATATRANSACTIONID,
T.DATAUSERID=V.DATAUSERID, T.DATATIME=V.DATATIME, T.DATAREASON=V.DATAREASON,
T.SDVTIME=V.SDVTIME,T.STATETRANSACTIONID=V.STATETRANSACTIONID,T.STATEUSERID=
V.STATEUSERID, T.STATETIME=V.STATETIME,T.STATEREASON=V.STATEREASON,
T.ITEMSDVED=V.ITEMSDVED,T.ITEMDELETED=V.ITEMDELETED,T.ITEMHASDATA=
V.ITEMHASDATA, T.CONTROLS=V.CONTROLS, T.CONTROLSWITHDATA=V.CONTROLSWITHDATA,
T.QUERIES=V.QUERIES, T.QTYPEAUTO=V.QTYPEAUTO,T.QTYPEMANUAL=V.QTYPEMANUAL,
T.QTYPECONFLICT=V.QTYPECONFLICT,T.QREISSUED=V.QREISSUED, T.QCANDIDATE=
V.QCANDIDATE,T.QOPENED=V.QOPENED,T.QANSWERED=V.QANSWERED, T.QCLOSED=
V.QCLOSED,T.QDELETED=V.QDELETED, T.ITEMCOMMENTS=V.ITEMCOMMENTS,

T.ITEMMARKEDINCOMPLETE=V.ITEMMARKEDINCOMPLETE, T.BLANK=V.BLANK,T.PREDEFINED=
V.PREDEFINED, T.ITEMSDVOVERRIDE=V.ITEMSDVOVERRIDE,T.ITEMSDVSELECTED=
V.ITEMSDVSELECTED, T.MODIFIEDDATETIME = CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), T.MODIFIEDBYUSERID=:B2 WHEN NOT MATCHED THEN INSERT(T.CONTEXTID,
T.ITEM,T.SECTIONITEM,T.ITEMSETITEM, T.SITEID,T.SUBJECTID,T.VISITID,
T.VISITINDEX,T.SUBJECTVISITID, T.FORMID,T.FORMREV,T.FORMINDEX,
T.SECTIONORDER,T.SECTIONID,T.SECTIONREV, T.SECTIONITEMORDER,T.ITEMSETID,
T.ITEMSETREV,T.ITEMSETINDEX,T.ITEMSETITEMORDER, T.ITEMID,T.ITEMREV,
T.MAXAUDITORDER, T.MINCONTEXTREV,T.MAXCONTEXTREV,T.DATATRANSACTIONID,
T.DATAUSERID, T.DATATIME,T.DATAREASON,T.SDVTIME, T.STATETRANSACTIONID,
T.STATEUSERID, T.STATETIME,T.STATEREASON,T.ITEMSDVED,T.ITEMDELETED,
T.ITEMHASDATA, T.CONTROLS,T.CONTROLSWITHDATA,T.QUERIES, T.QTYPEAUTO,
T.QTYPEMANUAL,T.QTYPECONFLICT,T.QREISSUED, T.QCANDIDATE,T.QOPENED,
T.QANSWERED,T.QCLOSED,T.QDELETED, T.ITEMCOMMENTS, T.ITEMMARKEDINCOMPLETE,
T.BLANK,T.PREDEFINED, T.ITEMSDVOVERRIDE,T.ITEMSDVSELECTED,
T.CREATEDDATETIME,T.CREATEDBYUSERID,T.MODIFIEDDATETIME,T.MODIFIEDBYUSERID)
VALUES (V.CONTEXTID,V.ITEM,V.SECTIONITEM,V.ITEMSETITEM, V.SITEID,
V.SUBJECTID,V.VISITID,V.VISITINDEX,V.SUBJECTVISITID, V.FORMID,V.FORMREV,
V.FORMINDEX, V.SECTIONORDER,V.SECTIONID,V.SECTIONREV, V.SECTIONITEMORDER,
V.ITEMSETID,V.ITEMSETREV,V.ITEMSETINDEX,V.ITEMSETITEMORDER, V.ITEMID,
V.ITEMREV, V.MAXAUDITORDER, V.MINCONTEXTREV,V.MAXCONTEXTREV,
V.DATATRANSACTIONID,V.DATAUSERID, V.DATATIME,V.DATAREASON,V.SDVTIME,
V.STATETRANSACTIONID,V.STATEUSERID, V.STATETIME,V.STATEREASON,V.ITEMSDVED,
V.ITEMDELETED,V.ITEMHASDATA, V.CONTROLS,V.CONTROLSWITHDATA,V.QUERIES,
V.QTYPEAUTO, V.QTYPEMANUAL,V.QTYPECONFLICT,V.QREISSUED, V.QCANDIDATE,
V.QOPENED,V.QANSWERED,V.QCLOSED,V.QDELETED, V.ITEMCOMMENTS,
V.ITEMMARKEDINCOMPLETE, V.BLANK,V.PREDEFINED, V.ITEMSDVOVERRIDE,
V.ITEMSDVSELECTED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
5.28
5.29
163
24330
6
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
5.28
5.29
163
24330
6
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 MERGE RT_ITEMSTATE (cr=24330 pr=163 pw=0 time
=298258 us)
1
1
1 VIEW (cr=24330 pr=163 pw=0 time=298152 us)
1
1
1
NESTED LOOPS (cr=24330 pr=163 pw=0 time=298
139 us cost=10311 size=1631 card=1)
2
2
2
NESTED LOOPS (cr=24326 pr=163 pw=0 time=29
7964 us cost=10309 size=1616 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24322 pr=163 pw=0 t
ime=298028 us cost=10306 size=1596 card=1)
1
1
1
HASH JOIN OUTER (cr=24317 pr=159 pw=0 tim
e=296318 us cost=10304 size=1365 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24309 pr=157 pw=0

time=294841 us cost=8324 size=1300 card=1)


1
1
1
HASH JOIN (cr=24307 pr=155 pw=0 time=2
94661 us cost=8320 size=1282 card=1)
2
2
2
NESTED LOOPS (cr=24306 pr=155 pw=0 ti
me=293961 us cost=8319 size=2512 card=2)
2
2
2
NESTED LOOPS (cr=24305 pr=154 pw=0 t
ime=293863 us cost=8319 size=2512 card=3)
1
1
1
NESTED LOOPS OUTER (cr=24304 pr=154
pw=0 time=293959 us cost=8317 size=1239 card=1)
1
1
1
VIEW (cr=24304 pr=154 pw=0 time=29
3944 us cost=8317 size=1222 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24304 pr=15
4 pw=0 time=293928 us cost=8317 size=437 card=1)
1
1
1
NESTED LOOPS (cr=24300 pr=152 pw
=0 time=293667 us cost=8315 size=421 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24297 pr=
152 pw=0 time=293646 us cost=8314 size=407 card=1)
1
1
1
HASH JOIN OUTER (cr=24294 pr=14
9 pw=0 time=288444 us cost=8312 size=359 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24145 p
r=5 pw=0 time=207447 us cost=8075 size=333 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24142
pr=2 pw=0 time=207175 us cost=8074 size=275 card=1)
1
1
1
NESTED LOOPS (cr=24139 pr=0
pw=0 time=206173 us cost=8071 size=143 card=1)
1
1
1
SORT UNIQUE (cr=24135 pr=0
pw=0 time=206128 us cost=8068 size=14 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY
(cr=24135 pr=0 pw=0 time=206097 us cost=8068 size=14 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID
RT_ITEMDATA_CONTEXT (cr=4 pr=0 pw=0 time=42 us cost=2 size=129 card=1)
1
1
1
INDEX UNIQUE SCAN RT_ITEMD
ATA_CONTEXT_PK (cr=3 pr=0 pw=0 time=30 us cost=1 size=0 card=1)(object id 22410)
1
1
1
VIEW PUSHED PREDICATE RV_CO
NTEXT_QUERY (cr=3 pr=2 pw=0 time=998 us cost=3 size=132 card=1)
1
1
1
SORT GROUP BY (cr=3 pr=2 pw
=0 time=993 us cost=3 size=33 card=1)
1
1
1
INDEX RANGE SCAN IRI_QUERY
_04 (cr=3 pr=2 pw=0 time=937 us cost=3 size=33 card=1)(object id 22580)
1
1
1
TABLE ACCESS BY INDEX ROWID R
T_FORM_ITEMS (cr=3 pr=3 pw=0 time=268 us cost=1 size=58 card=1)
1
1
1
INDEX UNIQUE SCAN RT_FORM_IT
EMS_PK (cr=2 pr=2 pw=0 time=185 us cost=0 size=0 card=1)(object id 22639)
89612
89612
89612
VIEW RV_CONTEXT_COMMENT (cr=1
49 pr=144 pw=0 time=81434 us cost=237 size=2323776 card=89376)
89612
89612
89612
SORT GROUP BY (cr=149 pr=144
pw=0 time=68905 us cost=237 size=536256 card=89376)
89612
89612
89612
INDEX FAST FULL SCAN IX_RT_C
OMMENT_CONTEXT (cr=149 pr=144 pw=0 time=11440 us cost=50 size=537672 card=89612)
(object id 22605)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_
CONTEXT_STATE (cr=3 pr=3 pw=0 time=5197 us cost=2 size=48 card=1)
0
0
0
INDEX UNIQUE SCAN RT_CONTEXT_S
TATE_PK (cr=3 pr=3 pw=0 time=5193 us cost=1 size=0 card=1)(object id 22641)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_S
UBJECT (cr=3 pr=0 pw=0 time=19 us cost=1 size=14 card=1)
1
1
1
INDEX UNIQUE SCAN RT_SUBJECT_PK
(cr=2 pr=0 pw=0 time=12 us cost=0 size=0 card=1)(object id 22570)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_CO
NTEXT_CONTROLS (cr=4 pr=2 pw=0 time=257 us cost=2 size=16 card=1)

1
1
1
INDEX UNIQUE SCAN RT_CONTEXT_CON
TROLS_PK (cr=3 pr=1 pw=0 time=147 us cost=1 size=0 card=1)(object id 22553)
0
0
0
VIEW PUSHED PREDICATE RV_FORM_OW (
cr=0 pr=0 pw=0 time=12 us cost=0 size=17 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time
=10 us cost=0 size=91 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SV
CRITICALFORMS_CUR (cr=0 pr=0 pw=0 time=9 us cost=0 size=52 card=1)
0
0
0
INDEX UNIQUE SCAN XIE1PF_SVCRITI
CALFORMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 21055)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us c
ost=0 size=39 card=1)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 ti
me=0 us cost=0 size=39 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_
SVCRITICALFORMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=39 card=1)
0
0
0
INDEX UNIQUE SCAN XIE1PF_SVCRI
TICALFORMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 21055)
2
2
2
INDEX RANGE SCAN XPKPF_PAGE (cr=1 pr
=0 pw=0 time=12 us cost=1 size=0 card=3)(object id 20907)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_PAGE (
cr=1 pr=1 pw=0 time=96 us cost=2 size=34 card=2)
101
101
101
VIEW (cr=1 pr=0 pw=0 time=210 us cost
=1 size=2626 card=101)
101
101
101
SORT GROUP BY (cr=1 pr=0 pw=0 time=20
9 us cost=1 size=1515 card=101)
300
300
300
INDEX FULL SCAN XPKPF_PAGE (cr=1 pr=
0 pw=0 time=207 us cost=1 size=4500 card=300)(object id 20907)
0
0
0
VIEW PUSHED PREDICATE RV_POOL_OW (cr=2
pr=2 pw=0 time=178 us cost=4 size=18 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=2 pw=0 time=176
us cost=4 size=66 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SVSUBJ
ECTPOOL_CUR (cr=2 pr=2 pw=0 time=175 us cost=2 size=27 card=1)
0
0
0
INDEX UNIQUE SCAN XIE1PF_SVSUBJECTPO
OL_CUR (cr=2 pr=2 pw=0 time=174 us cost=1 size=0 card=1)(object id 21051)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us cost=
2 size=39 card=1)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 time=0
us cost=2 size=24 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SVSU
BJECTPOOL_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=24 card=1)
0
0
0
INDEX UNIQUE SCAN XIE1PF_SVSUBJECT
POOL_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 21051)
0
0
0
VIEW RV_ITEM_OW (cr=8 pr=2 pw=0 time=11
83 us cost=1979 size=10839725 card=166765)
0
0
0
HASH JOIN (cr=8 pr=2 pw=0 time=1181 us
cost=1979 size=23847395 card=166765)
0
0
0
VIEW (cr=8 pr=2 pw=0 time=644 us cost
=424 size=10839725 card=166765)
0
0
0
SORT GROUP BY (cr=8 pr=2 pw=0 time=64
3 us cost=424 size=10839725 card=166765)
0
0
0
VIEW (cr=8 pr=2 pw=0 time=636 us co
st=416 size=10839725 card=166765)
0
0
0
UNION-ALL (cr=8 pr=2 pw=0 time=636
us)
0
0
0
HASH JOIN (cr=4 pr=1 pw=0 time=40
4 us cost=368 size=10620258 card=160913)
0
0
0
VIEW RV_ITEM_ALL (cr=4 pr=1 pw=0
time=316 us cost=47 size=304304 card=5852)

UNION-ALL (cr=4 pr=1 pw=0 time=

314 us)
0
0
0
HASH JOIN (cr=1 pr=1 pw=0 time
=168 us cost=11 size=98 card=1)
0
0
0
NESTED LOOPS (cr=1 pr=1 pw=0
time=72 us cost=1 size=72 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID P
F_SVCRITICALITEMS_CUR (cr=1 pr=1 pw=0 time=72 us cost=1 size=65 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRI
TICALITEMS_CUR (cr=1 pr=1 pw=0 time=70 us cost=1 size=0 card=1)(object id 22278)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_
01 (cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 u
s cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 ti
me=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2263
9)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 time
=50 us cost=11 size=98 card=1)
0
0
0
NESTED LOOPS (cr=1 pr=0 pw=0
time=10 us cost=1 size=72 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID P
F_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=10 us cost=1 size=65 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRI
TICALITEMS_CUR (cr=1 pr=0 pw=0 time=9 us cost=1 size=0 card=1)(object id 22278)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_
01 (cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 u
s cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 ti
me=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2263
9)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
MERGE JOIN CARTESIAN (cr=2 pr=0
pw=0 time=89 us cost=24 size=269100 card=5850)
0
0
0
VIEW VW_JF_SET$1982038F (cr=2
pr=0 pw=0 time=88 us cost=20 size=78 card=2)
0
0
0
UNION-ALL (cr=2 pr=0 pw=0 ti
me=85 us)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 t
ime=43 us cost=10 size=91 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID
PF_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=7 us cost=0 size=65 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SV
CRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=6 us cost=0 size=0 card=1)(object id 2227

8)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=
0 us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0
time=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0
pw=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_
FORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2
2639)
0
0
0
SORT GROUP BY (cr=0 pr=0
pw=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_
FORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 226
39)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 t
ime=38 us cost=10 size=91 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID
PF_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=7 us cost=0 size=65 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SV
CRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=5 us cost=0 size=0 card=1)(object id 2227
8)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=
0 us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0
time=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0
pw=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_
FORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2
2639)
0
0
0
SORT GROUP BY (cr=0 pr=0
pw=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_
FORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 226
39)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 ti
me=0 us cost=24 size=20475 card=2925)
0
0
0
INDEX FAST FULL SCAN IRI_RT_S
ITE_01 (cr=0 pr=0 pw=0 time=0 us cost=2 size=20475 card=2925)(object id 22556)
0
0
0
TABLE ACCESS FULL RT_SUBJECT (cr=
0 pr=0 pw=0 time=0 us cost=321 size=1126006 card=80429)
0
0
0
VIEW RV_ITEM_ALL (cr=4 pr=1 pw=0
time=228 us cost=48 size=380380 card=5852)
0
0
0
UNION-ALL (cr=4 pr=1 pw=0 time=2
27 us)
0
0
0
HASH JOIN (cr=1 pr=1 pw=0 time=
96 us cost=12 size=98 card=1)
0
0
0
NESTED LOOPS (cr=1 pr=1 pw=0 t
ime=63 us cost=2 size=72 card=1)
0
0
0
TABLE ACCESS FULL PF_SVCRITICA
LITEMS_CUR (cr=1 pr=1 pw=0 time=62 us cost=2 size=65 card=1)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_0
1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us
cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 tim
e=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=38246 card=2942)

0
0
0
INDEX FAST FULL SCAN RT_FORM
_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639
)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM
_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 time=
47 us cost=11 size=98 card=1)
0
0
0
NESTED LOOPS (cr=1 pr=0 pw=0 t
ime=10 us cost=1 size=72 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF
_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=10 us cost=1 size=65 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRIT
ICALITEMS_CUR (cr=1 pr=0 pw=0 time=8 us cost=1 size=0 card=1)(object id 22278)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_0
1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us
cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 tim
e=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FORM
_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639
)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM
_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
MERGE JOIN CARTESIAN (cr=2 pr=0
pw=0 time=80 us cost=24 size=345150 card=5850)
0
0
0
VIEW VW_JF_SET$CCDD2F48 (cr=2
pr=0 pw=0 time=78 us cost=20 size=104 card=2)
0
0
0
UNION-ALL (cr=2 pr=0 pw=0 tim
e=77 us)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 ti
me=37 us cost=10 size=91 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID
PF_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=6 us cost=0 size=65 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SVC
RITICALITEMS_CUR (cr=1 pr=0 pw=0 time=5 us cost=0 size=0 card=1)(object id 22278
)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0
us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0
time=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 p
w=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_F
ORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22
639)
0
0
0
SORT GROUP BY (cr=0 pr=0 p
w=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_F
ORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 2263
9)
0
0
0
HASH JOIN (cr=1 pr=0 pw=0 ti
me=36 us cost=10 size=91 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID

PF_SVCRITICALITEMS_CUR (cr=1 pr=0 pw=0 time=6 us cost=0 size=65 card=1)


0
0
0
INDEX RANGE SCAN XIE1PF_SVC
RITICALITEMS_CUR (cr=1 pr=0 pw=0 time=5 us cost=0 size=0 card=1)(object id 22278
)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0
us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0
time=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 p
w=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_F
ORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22
639)
0
0
0
SORT GROUP BY (cr=0 pr=0 p
w=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_F
ORM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 2263
9)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 tim
e=0 us cost=24 size=20475 card=2925)
0
0
0
INDEX FAST FULL SCAN IRI_RT_SI
TE_01 (cr=0 pr=0 pw=0 time=0 us cost=2 size=20475 card=2925)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us cost=4
16 size=13007670 card=166765)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=0 us)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time=0 us
cost=368 size=12712127 card=160913)
0
0
0
VIEW RV_ITEM_ALL (cr=0 pr=0 pw=0 t
ime=0 us cost=47 size=380380 card=5852)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=0
us)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time=0
us cost=11 size=111 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 ti
me=0 us cost=1 size=85 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_
SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=78 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRITI
CALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22278)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_01
(cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us
cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time
=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FORM_
ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM_
ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time=0
us cost=11 size=111 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 ti
me=0 us cost=1 size=85 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_
SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=78 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRITI

CALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22278)


0
0
0
INDEX RANGE SCAN IRI_RT_SITE_01
(cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us
cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time
=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FORM_
ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0
time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM_
ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
MERGE JOIN CARTESIAN (cr=0 pr=0 p
w=0 time=0 us cost=24 size=345150 card=5850)
0
0
0
VIEW VW_JF_SET$5B20F233 (cr=0 p
r=0 pw=0 time=0 us cost=20 size=104 card=2)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time
=0 us)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 tim
e=0 us cost=10 size=104 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID P
F_SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SVCR
ITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22278)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0
us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 t
ime=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw
=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FO
RM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 226
39)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw
=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FO
RM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639
)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 tim
e=0 us cost=10 size=104 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID P
F_SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SVCR
ITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22278)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0
us cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 t
ime=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw
=0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FO
RM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 226
39)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw
=0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FO
RM_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639

)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 time
=0 us cost=24 size=20475 card=2925)
0
0
0
INDEX FAST FULL SCAN IRI_RT_SIT
E_01 (cr=0 pr=0 pw=0 time=0 us cost=2 size=20475 card=2925)(object id 22556)
0
0
0
TABLE ACCESS FULL RT_SUBJECT (cr=0
pr=0 pw=0 time=0 us cost=321 size=1126006 card=80429)
0
0
0
VIEW RV_ITEM_ALL (cr=0 pr=0 pw=0 ti
me=0 us cost=48 size=456456 card=5852)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=0 u
s)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time=0
us cost=12 size=111 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 tim
e=0 us cost=2 size=85 card=1)
0
0
0
TABLE ACCESS FULL PF_SVCRITICALI
TEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=78 card=1)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_01
(cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us c
ost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=
0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 t
ime=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FORM_I
TEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 t
ime=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM_I
TEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time=0
us cost=11 size=111 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 tim
e=0 us cost=1 size=85 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_S
VCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=78 card=1)
0
0
0
INDEX SKIP SCAN XIE1PF_SVCRITIC
ALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22278)
0
0
0
INDEX RANGE SCAN IRI_RT_SITE_01
(cr=0 pr=0 pw=0 time=0 us cost=0 size=7 card=1)(object id 22556)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 us c
ost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=
0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 t
ime=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FORM_I
TEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 22639)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 t
ime=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FORM_I
TEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
MERGE JOIN CARTESIAN (cr=0 pr=0 pw
=0 time=0 us cost=24 size=421200 card=5850)
0
0
0
VIEW VW_JF_SET$9C2C4B27 (cr=0 pr
=0 pw=0 time=0 us cost=20 size=130 card=2)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 time=
0 us)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time

=0 us cost=10 size=104 card=1)


0
0
0
TABLE ACCESS BY INDEX ROWID PF
_SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SVCRI
TICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22278)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 u
s cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 ti
me=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2263
9)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
HASH JOIN (cr=0 pr=0 pw=0 time
=0 us cost=10 size=104 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF
_SVCRITICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=78 card=1)
0
0
0
INDEX RANGE SCAN XIE1PF_SVCRI
TICALITEMS_CUR (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22278)
0
0
0
VIEW (cr=0 pr=0 pw=0 time=0 u
s cost=10 size=78234 card=3009)
0
0
0
UNION-ALL (cr=0 pr=0 pw=0 ti
me=0 us)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=38246 card=2942)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=38246 card=2942)(object id 2263
9)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=
0 time=0 us cost=5 size=536 card=67)
0
0
0
INDEX FAST FULL SCAN RT_FOR
M_ITEMS_PK (cr=0 pr=0 pw=0 time=0 us cost=4 size=2096 card=262)(object id 22639)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 time=
0 us cost=24 size=20475 card=2925)
0
0
0
INDEX FAST FULL SCAN IRI_RT_SITE
_01 (cr=0 pr=0 pw=0 time=0 us cost=2 size=20475 card=2925)(object id 22556)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ITEMSTATE
(cr=5 pr=4 pw=0 time=1706 us cost=2 size=231 card=1)
1
1
1
INDEX RANGE SCAN IRI_RT_ITEMSTATE_01 (cr
=3 pr=3 pw=0 time=1583 us cost=1 size=0 card=1)(object id 22644)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_ITEM (cr=4
pr=0 pw=0 time=21 us cost=3 size=40 card=2)
2
2
2
INDEX RANGE SCAN XPKPF_ITEM (cr=2 pr=0 pw
=0 time=13 us cost=1 size=0 card=2)(object id 20878)
1
1
1
VIEW PUSHED PREDICATE (cr=4 pr=0 pw=0 time
=83 us cost=2 size=15 card=1)
2
2
2
SORT GROUP BY (cr=4 pr=0 pw=0 time=82 us c
ost=2 size=15 card=1)
4
4
4
INDEX RANGE SCAN XPKPF_ITEM (cr=4 pr=0 pw
=0 time=56 us cost=2 size=30 card=2)(object id 20878)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------

db file sequential read


20
0.00
0.00
db file scattered read
21
0.00
0.00
********************************************************************************
SQL ID: cjft0trq92y4y Plan Hash: 4148591465
INSERT INTO RT_FORMHISTORY_SUMMARY T (T.FORMHISTORYID,T.FORMHISTORYREV,
T.SUBJECTVISITID, T.FORMID, T.FORMREV, T.FORMINDEX, T.SUBJECTID, T.VISITID,
T.VISITINDEX, T.HISTORICALORDER,T.USERID,T.PFTIMESTAMP,T.TRANSACTIONID,
T.REASON,T.ACTION,T.STATEHIST,T.SIGRESOURCEID,T.SIGRESOURCEREVISIONNUMBER,
T.SIGLANGUAGEID,T.ORIGINALSTATE,T.SDVREADYSTATE,T.SDVCOMPLETESTATE,
T.SDVSELECTEDSTATE,T.LOCKEDSTATE,T.FROZENSTATE,T.SIGNEDSTATE,
T.COMPLETESTATE,T.HASQUERIESSTATE,T.MISSINGITEMSSTATE,T.SDVPARTIALSTATE,
T.NOTDONESTATE,T.HASCOMMENTSSTATE,T.HASDATASTATE, T.DELETEDSTATE,
T.DELETEDDYNAMICFORMSTATE,T.STARTEDSTATE,T.BOOKSIGN,T.PSDVREADYSTATE,
T.PSDVCOMPLETESTATE,T.PSDVSELECTEDSTATE, T.PLOCKEDSTATE,T.PFROZENSTATE,
T.PSIGNEDSTATE,T.PCOMPLETESTATE,T.PHASQUERIESSTATE,T.PMISSINGITEMSSTATE,
T.PSDVPARTIALSTATE,T.PNOTDONESTATE, T.PHASCOMMENTSSTATE,T.PHASDATASTATE,
T.PDELETEDSTATE,T.PDELETEDDYNAMICFORMSTATE,T.PSTARTEDSTATE,T.PBOOKSGN,
T.MINFORMHISTORYID, T.MINFORMHISTORYREV, T.MAXFORMHISTORYID,
T.MAXFORMHISTORYREV, T.COUNTSUBJECTVISITID, T.COUNTFORMID, T.COUNTFORMREV,
T.COUNTFORMINDEX, T.COUNTSTATEHIST, T.COUNTFHTIMES, T.COUNTSDVREADYSTATE,
T.FMINSDVREADYSTATE, T.FMAXSDVREADYSTATE, T.COUNTSDVCOMPLETESTATE,
T.FMINSDVCOMPLETESTATE, T.FMAXSDVCOMPLETESTATE, T.COUNTSDVSELECTEDSTATE,
T.FMINSDVSELECTEDSTATE, T.FMAXSDVSELECTEDSTATE, T.COUNTLOCKEDSTATE,
T.FMINLOCKEDSTATE, T.FMAXLOCKEDSTATE, T.COUNTFROZENSTATE, T.FMINFROZENSTATE,
T.FMAXFROZENSTATE, T.COUNTSIGNEDSTATE, T.FMINSIGNEDSTATE,
T.FMAXSIGNEDSTATE, T.COUNTCOMPLETESTATE, T.FMINCOMPLETESTATE,
T.FMAXCOMPLETESTATE, T.COUNTHASQUERIESSTATE, T.FMINHASQUERIESSTATE,
T.FMAXHASQUERIESSTATE, T.COUNTMISSINGITEMSSTATE, T.FMINMISSINGITEMSSTATE,
T.FMAXMISSINGITEMSSTATE, T.COUNTSDVPARTIALSTATE, T.FMINSDVPARTIALSTATE,
T.FMAXSDVPARTIALSTATE, T.COUNTNOTDONESTATE, T.FMINNOTDONESTATE,
T.FMAXNOTDONESTATE, T.COUNTHASCOMMENTSSTATE, T.FMINHASCOMMENTSSTATE,
T.FMAXHASCOMMENTSSTATE, T.COUNTHASDATASTATE, T.FMINHASDATASTATE,
T.FMAXHASDATASTATE, T.COUNTDELETEDSTATE, T.FMINDELETEDSTATE,
T.FMAXDELETEDSTATE, T.COUNTDELETEDDYNAMICFORMSTATE,
T.FMINDELETEDDYNAMICFORMSTATE, T.FMAXDELETEDDYNAMICFORMSTATE,
T.COUNTSTARTEDSTATE, T.FMINSTARTEDSTATE, T.FMAXSTARTEDSTATE, T.COUNTBOOKSGN,
T.FMINBOOKSIGN, T.FMAXBOOKSIGN, T.COUNTNOTDONE, T.CREATEDDATETIME,
T.CREATEDBYUSERID, T.MODIFIEDDATETIME, T.MODIFIEDBYUSERID) SELECT
V.FORMHISTORYID,V.FORMHISTORYREV,V.SUBJECTVISITID, V.FORMID, V.FORMREV,
V.FORMINDEX, V.SUBJECTID, V.VISITID, V.VISITINDEX, V.HISTORICALORDER,
V.USERID,V.PFTIMESTAMP,V.TRANSACTIONID,V.REASON,V.ACTION,V.STATEHIST,
V.SIGRESOURCEID,V.SIGRESOURCEREVISIONNUMBER, V.SIGLANGUAGEID,
V.ORIGINALSTATE,V.SDVREADYSTATE,V.SDVCOMPLETESTATE,V.SDVSELECTEDSTATE,
V.LOCKEDSTATE,V.FROZENSTATE,V.SIGNEDSTATE, V.COMPLETESTATE,
V.HASQUERIESSTATE,V.MISSINGITEMSSTATE,V.SDVPARTIALSTATE,V.NOTDONESTATE,
V.HASCOMMENTSSTATE,V.HASDATASTATE, V.DELETEDSTATE,V.DELETEDDYNAMICFORMSTATE,
V.STARTEDSTATE,V.BOOKSIGN,V.PSDVREADYSTATE,V.PSDVCOMPLETESTATE,
V.PSDVSELECTEDSTATE, V.PLOCKEDSTATE,V.PFROZENSTATE,V.PSIGNEDSTATE,
V.PCOMPLETESTATE,V.PHASQUERIESSTATE,V.PMISSINGITEMSSTATE,V.PSDVPARTIALSTATE,
V.PNOTDONESTATE, V.PHASCOMMENTSSTATE,V.PHASDATASTATE,V.PDELETEDSTATE,
V.PDELETEDDYNAMICFORMSTATE,V.PSTARTEDSTATE,V.PBOOKSGN, V.MINFORMHISTORYID,
V.MINFORMHISTORYREV, V.MAXFORMHISTORYID, V.MAXFORMHISTORYREV,
V.COUNTSUBJECTVISITID, V.COUNTFORMID, V.COUNTFORMREV, V.COUNTFORMINDEX,
V.COUNTSTATEHIST, V.COUNTFHTIMES, V.COUNTSDVREADYSTATE, V.FMINSDVREADYSTATE,
V.FMAXSDVREADYSTATE, V.COUNTSDVCOMPLETESTATE, V.FMINSDVCOMPLETESTATE,
V.FMAXSDVCOMPLETESTATE, V.COUNTSDVSELECTEDSTATE, V.FMINSDVSELECTEDSTATE,
V.FMAXSDVSELECTEDSTATE, V.COUNTLOCKEDSTATE, V.FMINLOCKEDSTATE,
V.FMAXLOCKEDSTATE, V.COUNTFROZENSTATE, V.FMINFROZENSTATE, V.FMAXFROZENSTATE,

V.COUNTSIGNEDSTATE, V.FMINSIGNEDSTATE, V.FMAXSIGNEDSTATE,


V.COUNTCOMPLETESTATE, V.FMINCOMPLETESTATE, V.FMAXCOMPLETESTATE,
V.COUNTHASQUERIESSTATE, V.FMINHASQUERIESSTATE, V.FMAXHASQUERIESSTATE,
V.COUNTMISSINGITEMSSTATE, V.FMINMISSINGITEMSSTATE, V.FMAXMISSINGITEMSSTATE,
V.COUNTSDVPARTIALSTATE, V.FMINSDVPARTIALSTATE, V.FMAXSDVPARTIALSTATE,
V.COUNTNOTDONESTATE, V.FMINNOTDONESTATE, V.FMAXNOTDONESTATE,
V.COUNTHASCOMMENTSSTATE, V.FMINHASCOMMENTSSTATE, V.FMAXHASCOMMENTSSTATE,
V.COUNTHASDATASTATE, V.FMINHASDATASTATE, V.FMAXHASDATASTATE,
V.COUNTDELETEDSTATE, V.FMINDELETEDSTATE, V.FMAXDELETEDSTATE,
V.COUNTDELETEDDYNAMICFORMSTATE, V.FMINDELETEDDYNAMICFORMSTATE,
V.FMAXDELETEDDYNAMICFORMSTATE, V.COUNTSTARTEDSTATE, V.FMINSTARTEDSTATE,
V.FMAXSTARTEDSTATE, V.COUNTBOOKSGN, V.FMINBOOKSIGN, V.FMAXBOOKSIGN,
V.COUNTNOTDONE, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM (SELECT
FR.FORMHISTORYID,FR.FORMHISTORYREV,FR.SUBJECTVISITID,FR.FORMID,FR.FORMREV,
FR.FORMINDEX,FR.SUBJECTID,FR.VISITID,FR.VISITINDEX, FR.HISTORICALORDER,
FR.USERID,FR.PFTIMESTAMP,FR.TRANSACTIONID,FR.REASON,FR.ACTION,FR.STATEHIST,
FR.SIGRESOURCEID,FR.SIGRESOURCEREVISIONNUMBER, FR.SIGLANGUAGEID,
FR.ORIGINALSTATE,FR.SDVREADYSTATE,FR.SDVCOMPLETESTATE,FR.SDVSELECTEDSTATE,
FR.LOCKEDSTATE,FR.FROZENSTATE,FR.SIGNEDSTATE, FR.COMPLETESTATE,
FR.HASQUERIESSTATE,FR.MISSINGITEMSSTATE,FR.SDVPARTIALSTATE,FR.NOTDONESTATE,
FR.HASCOMMENTSSTATE,FR.HASDATASTATE, FR.DELETEDSTATE,
FR.DELETEDDYNAMICFORMSTATE,FR.STARTEDSTATE,FR.BOOKSIGN,FR.PSDVREADYSTATE,
FR.PSDVCOMPLETESTATE,FR.PSDVSELECTEDSTATE, FR.PLOCKEDSTATE,FR.PFROZENSTATE,
FR.PSIGNEDSTATE,FR.PCOMPLETESTATE,FR.PHASQUERIESSTATE,FR.PMISSINGITEMSSTATE,
FR.PSDVPARTIALSTATE,FR.PNOTDONESTATE, FR.PHASCOMMENTSSTATE,FR.PHASDATASTATE,
FR.PDELETEDSTATE,FR.PDELETEDDYNAMICFORMSTATE,FR.PSTARTEDSTATE,FR.PBOOKSGN,
FS.MINFORMHISTORYID,FS.MINFORMHISTORYREV,FS.MAXFORMHISTORYID,
FS.MAXFORMHISTORYREV,FS.COUNTSUBJECTVISITID,FS.COUNTFORMID,FS.COUNTFORMREV,
FS.COUNTFORMINDEX,FS.COUNTSTATEHIST,FS.COUNTFHTIMES,FS.COUNTSDVREADYSTATE,
FS.FMINSDVREADYSTATE,FS.FMAXSDVREADYSTATE,FS.COUNTSDVCOMPLETESTATE,
FS.FMINSDVCOMPLETESTATE,FS.FMAXSDVCOMPLETESTATE,FS.COUNTSDVSELECTEDSTATE,
FS.FMINSDVSELECTEDSTATE,FS.FMAXSDVSELECTEDSTATE,FS.COUNTLOCKEDSTATE,
FS.FMINLOCKEDSTATE,FS.FMAXLOCKEDSTATE,FS.COUNTFROZENSTATE,
FS.FMINFROZENSTATE,FS.FMAXFROZENSTATE,FS.COUNTSIGNEDSTATE,
FS.FMINSIGNEDSTATE,FS.FMAXSIGNEDSTATE,FS.COUNTCOMPLETESTATE,
FS.FMINCOMPLETESTATE,FS.FMAXCOMPLETESTATE,FS.COUNTHASQUERIESSTATE,
FS.FMINHASQUERIESSTATE,FS.FMAXHASQUERIESSTATE,FS.COUNTMISSINGITEMSSTATE,
FS.FMINMISSINGITEMSSTATE,FS.FMAXMISSINGITEMSSTATE,FS.COUNTSDVPARTIALSTATE,
FS.FMINSDVPARTIALSTATE,FS.FMAXSDVPARTIALSTATE,FS.COUNTNOTDONESTATE,
FS.FMINNOTDONESTATE,FS.FMAXNOTDONESTATE,FS.COUNTHASCOMMENTSSTATE,
FS.FMINHASCOMMENTSSTATE,FS.FMAXHASCOMMENTSSTATE,FS.COUNTHASDATASTATE,
FS.FMINHASDATASTATE,FS.FMAXHASDATASTATE,FS.COUNTDELETEDSTATE,
FS.FMINDELETEDSTATE,FS.FMAXDELETEDSTATE,FS.COUNTDELETEDDYNAMICFORMSTATE,
FS.FMINDELETEDDYNAMICFORMSTATE,FS.FMAXDELETEDDYNAMICFORMSTATE,
FS.COUNTSTARTEDSTATE,FS.FMINSTARTEDSTATE,FS.FMAXSTARTEDSTATE,
FS.COUNTBOOKSGN,FS.FMINBOOKSIGN,FS.FMAXBOOKSIGN,FS.COUNTNOTDONE FROM
RT_FORMHISTORY_REVS FR, (SELECT FH.SUBJECTVISITID, FH.FORMID, FH.FORMREV,
FH.FORMINDEX, FH.SUBJECTID, FH.VISITID, FH.VISITINDEX, MIN(FORMHISTORYID)
AS MINFORMHISTORYID,MIN(FORMHISTORYREV) AS MINFORMHISTORYREV,
MAX(FORMHISTORYID) AS MAXFORMHISTORYID,MAX(FORMHISTORYREV) AS
MAXFORMHISTORYREV, COUNT(FH.SUBJECTVISITID) AS COUNTSUBJECTVISITID,
COUNT(FH.FORMID) AS COUNTFORMID, COUNT(FH.FORMREV) AS COUNTFORMREV,
COUNT(FH.FORMINDEX) AS COUNTFORMINDEX, COUNT(FH.STATEHIST) AS
COUNTSTATEHIST, COUNT(FH.PFTIMESTAMP) AS COUNTFHTIMES, COUNT(SDVREADYSTATE)
AS COUNTSDVREADYSTATE, MIN(DECODE(SDVREADYSTATE,1,PFTIMESTAMP,NULL))
FMINSDVREADYSTATE, MAX(DECODE(SDVREADYSTATE-PSDVREADYSTATE,1,PFTIMESTAMP,
NULL)) FMAXSDVREADYSTATE, COUNT(SDVCOMPLETESTATE) AS COUNTSDVCOMPLETESTATE,
MIN(DECODE(SDVCOMPLETESTATE,1,PFTIMESTAMP,NULL)) FMINSDVCOMPLETESTATE,
MAX(DECODE(SDVCOMPLETESTATE-PSDVCOMPLETESTATE,1,PFTIMESTAMP,NULL))

FMAXSDVCOMPLETESTATE, COUNT(SDVSELECTEDSTATE) AS COUNTSDVSELECTEDSTATE,


MIN(DECODE(SDVSELECTEDSTATE,1,PFTIMESTAMP,NULL)) FMINSDVSELECTEDSTATE,
MAX(DECODE(SDVSELECTEDSTATE-PSDVSELECTEDSTATE,1,PFTIMESTAMP,NULL))
FMAXSDVSELECTEDSTATE, COUNT(LOCKEDSTATE) AS COUNTLOCKEDSTATE,
MIN(DECODE(LOCKEDSTATE,1,PFTIMESTAMP,NULL)) FMINLOCKEDSTATE,
MAX(DECODE(LOCKEDSTATE-PLOCKEDSTATE,1,PFTIMESTAMP,NULL)) FMAXLOCKEDSTATE,
COUNT(FROZENSTATE) AS COUNTFROZENSTATE, MIN(DECODE(FROZENSTATE,1,
PFTIMESTAMP,NULL)) FMINFROZENSTATE, MAX(DECODE(FROZENSTATE-PFROZENSTATE,1,
PFTIMESTAMP,NULL)) FMAXFROZENSTATE, COUNT(SIGNEDSTATE) AS COUNTSIGNEDSTATE,
MIN(DECODE(SIGNEDSTATE,1,PFTIMESTAMP,NULL)) FMINSIGNEDSTATE,
MAX(DECODE(SIGNEDSTATE-PSIGNEDSTATE,1,PFTIMESTAMP,NULL)) FMAXSIGNEDSTATE,
COUNT(COMPLETESTATE) AS COUNTCOMPLETESTATE, MIN(DECODE(COMPLETESTATE,1,
PFTIMESTAMP,NULL)) FMINCOMPLETESTATE,
MAX(DECODE(COMPLETESTATE-PCOMPLETESTATE,1,PFTIMESTAMP,NULL))
FMAXCOMPLETESTATE, COUNT(HASQUERIESSTATE) AS COUNTHASQUERIESSTATE,
MIN(DECODE(HASQUERIESSTATE,1,PFTIMESTAMP,NULL)) FMINHASQUERIESSTATE,
MAX(DECODE(HASQUERIESSTATE-PHASQUERIESSTATE,1,PFTIMESTAMP,NULL))
FMAXHASQUERIESSTATE, COUNT(MISSINGITEMSSTATE) AS COUNTMISSINGITEMSSTATE,
MIN(DECODE(MISSINGITEMSSTATE,1,PFTIMESTAMP,NULL)) FMINMISSINGITEMSSTATE,
MAX(DECODE(MISSINGITEMSSTATE-PMISSINGITEMSSTATE,1,PFTIMESTAMP,NULL))
FMAXMISSINGITEMSSTATE, COUNT(SDVPARTIALSTATE) AS COUNTSDVPARTIALSTATE,
MIN(DECODE(SDVPARTIALSTATE,1,PFTIMESTAMP,NULL)) FMINSDVPARTIALSTATE,
MAX(DECODE(SDVPARTIALSTATE-PSDVPARTIALSTATE,1,PFTIMESTAMP,NULL))
FMAXSDVPARTIALSTATE, COUNT(NOTDONESTATE) AS COUNTNOTDONESTATE,
MIN(DECODE(NOTDONESTATE,1,PFTIMESTAMP,NULL)) FMINNOTDONESTATE,
MAX(DECODE(NOTDONESTATE-PNOTDONESTATE,1,PFTIMESTAMP,NULL)) FMAXNOTDONESTATE,
COUNT(HASCOMMENTSSTATE) AS COUNTHASCOMMENTSSTATE,
MIN(DECODE(HASCOMMENTSSTATE,1,PFTIMESTAMP,NULL)) FMINHASCOMMENTSSTATE,
MAX(DECODE(HASCOMMENTSSTATE-PHASCOMMENTSSTATE,1,PFTIMESTAMP,NULL))
FMAXHASCOMMENTSSTATE, COUNT(HASDATASTATE) AS COUNTHASDATASTATE,
MIN(DECODE(HASDATASTATE,1,PFTIMESTAMP,NULL)) FMINHASDATASTATE,
MAX(DECODE(HASDATASTATE-PHASDATASTATE,1,PFTIMESTAMP,NULL)) FMAXHASDATASTATE,
COUNT(DELETEDSTATE) AS COUNTDELETEDSTATE, MIN(DECODE(DELETEDSTATE,1,
PFTIMESTAMP,NULL)) FMINDELETEDSTATE, MAX(DECODE(DELETEDSTATE-PDELETEDSTATE,
1,PFTIMESTAMP,NULL)) FMAXDELETEDSTATE, COUNT(DELETEDDYNAMICFORMSTATE) AS
COUNTDELETEDDYNAMICFORMSTATE, MIN(DECODE(DELETEDDYNAMICFORMSTATE,1,
PFTIMESTAMP,NULL)) FMINDELETEDDYNAMICFORMSTATE,
MAX(DECODE(DELETEDDYNAMICFORMSTATE-PDELETEDDYNAMICFORMSTATE,1,PFTIMESTAMP,
NULL)) FMAXDELETEDDYNAMICFORMSTATE, COUNT(STARTEDSTATE) AS
COUNTSTARTEDSTATE, MIN(DECODE(STARTEDSTATE,1,PFTIMESTAMP,NULL))
FMINSTARTEDSTATE, COALESCE(MAX(DECODE(STARTEDSTATE-PSTARTEDSTATE,1,
PFTIMESTAMP,NULL)),MIN(DECODE(STARTEDSTATE,1,PFTIMESTAMP,NULL)))
FMAXSTARTEDSTATE, COUNT(PBOOKSGN) AS COUNTBOOKSGN, MIN(DECODE(PBOOKSGN,1,
PFTIMESTAMP,NULL)) FMINBOOKSIGN, MAX(DECODE(PBOOKSGN,1,PFTIMESTAMP,NULL))
FMAXBOOKSIGN, COUNT(ND.NOTDONE) COUNTNOTDONE FROM RT_FORMHISTORY_REVS FH,
RV_ITEM_NOTDONE ND WHERE (FH.SUBJECTVISITID, FH.FORMID, FH.FORMINDEX) IN
(SELECT SUBJECTVISITID, FORMID, FORMINDEX FROM RT_FORMHISTORY_REVS WHERE
TRANSACTIONID=:B1 ) AND FH.SUBJECTID=ND.SUBJECTID (+) AND FH.VISITID=
ND.VISITID (+) AND FH.VISITINDEX=ND.VISITINDEX (+) AND FH.FORMID=ND.FORMID
(+) AND FH.FORMINDEX=ND.FORMINDEX (+) GROUP BY FH.SUBJECTVISITID, FH.FORMID,
FH.FORMINDEX, FH.SUBJECTID, FH.VISITID, FH.VISITINDEX, FH.FORMREV ) FS
WHERE FR.FORMHISTORYID=FS.MAXFORMHISTORYID AND FR.FORMHISTORYREV=
FS.MAXFORMHISTORYREV ) V
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
2.90
3.61
42784
46095
12
1
Fetch
0
0.00
0.00
0
0
0
0

------- ------ -------- ---------- ---------- ---------- ---------- ---------total


2
2.90
3.62
42784
46095
14
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=46095 pr=42784 pw
=0 time=3590972 us)
1
1
1 NESTED LOOPS (cr=46094 pr=42779 pw=0 time=35
90501 us cost=20 size=1798 card=2)
1
1
1
NESTED LOOPS (cr=46093 pr=42778 pw=0 time=3
590422 us cost=20 size=1798 card=2)
1
1
1
VIEW (cr=46090 pr=42778 pw=0 time=3590395
us cost=16 size=1340 card=2)
1
1
1
SORT GROUP BY (cr=46090 pr=42778 pw=0 time
=3590386 us cost=16 size=436 card=2)
20
20
20
HASH JOIN OUTER (cr=46090 pr=42778 pw=0 t
ime=3590188 us cost=15 size=436 card=2)
20
20
20
NESTED LOOPS (cr=25 pr=18 pw=0 time=154
3 us cost=7 size=382 card=2)
20
20
20
NESTED LOOPS (cr=6 pr=0 pw=0 time=61 u
s cost=7 size=382 card=2)
1
1
1
SORT UNIQUE (cr=3 pr=0 pw=0 time=36 us
cost=3 size=46 card=2)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID2
(cr=3 pr=0 pw=0 time=13 us cost=3 size=46 card=2)(object id 22587)
20
20
20
INDEX RANGE SCAN IX_FORMHISTORY_REVS_K
EYS (cr=3 pr=0 pw=0 time=27 us cost=2 size=0 card=1)(object id 22588)
20
20
20
TABLE ACCESS BY INDEX ROWID RT_FORMHIST
ORY_REVS (cr=19 pr=18 pw=0 time=1208 us cost=3 size=168 card=1)
45976
45976
45976
VIEW RV_ITEM_NOTDONE (cr=46065 pr=42760
pw=0 time=2870185 us cost=8 size=81 card=3)
45976
45976
45976
NESTED LOOPS (cr=46065 pr=42760 pw=0 t
ime=2856007 us cost=8 size=144 card=3)
45976
45976
45976
NESTED LOOPS (cr=107 pr=101 pw=0 time
=61550 us cost=8 size=144 card=3)
3
3
3
INDEX FULL SCAN IRI_NOTDONE_CONTROL_0
1 (cr=1 pr=1 pw=0 time=85 us cost=1 size=45 card=3)(object id 22403)
45976
45976
45976
INDEX RANGE SCAN IX_CONTROLDATA_04 (c
r=106 pr=100 pw=0 time=53674 us cost=2 size=0 card=1)(object id 22548)
45976
45976
45976
TABLE ACCESS BY INDEX ROWID RT_CONTROL
DATA (cr=45958 pr=42659 pw=0 time=3487038 us cost=3 size=33 card=1)
1
1
1
INDEX UNIQUE SCAN RT_FORMHISTORY_REVS_PK (c
r=3 pr=0 pw=0 time=25 us cost=1 size=0 card=1)(object id 22589)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORMHISTORY_R
EVS (cr=1 pr=1 pw=0 time=77 us cost=2 size=229 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
42784
0.00
0.59
********************************************************************************

SQL ID: 0gkx8jzqtup6z Plan Hash: 2604929106


DELETE FROM RT_QUERY_SUMMARY
WHERE
(SUBJECTVISITID, FORMID, FORMINDEX) IN (SELECT SUBJECTVISITID, FORMID,
FORMINDEX FROM RT_QUERY WHERE QUERYTRANSID=:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.90
0.90
24124
24138
8
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.90
0.90
24124
24138
8
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_QUERY_SUMMARY (cr=24138 pr=24124 pw
=0 time=904942 us)
1
1
1 NESTED LOOPS (cr=24138 pr=24121 pw=0 time=89
8686 us cost=8069 size=55 card=1)
1
1
1
SORT UNIQUE (cr=24136 pr=24121 pw=0 time=898
661 us cost=8068 size=24 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24136 pr=241
21 pw=0 time=898623 us cost=8068 size=24 card=1)
1
1
1
INDEX UNIQUE SCAN RT_QUERY_SUMMARY_PK (cr=2
pr=0 pw=0 time=19 us cost=0 size=31 card=1)(object id 22583)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
6
0.00
0.00
db file scattered read
1529
0.00
0.25
********************************************************************************
SQL ID: cxu8gwm9gp4m6 Plan Hash: 3516496279
MERGE INTO RT_ACTIVATED_FORMS T USING (SELECT F.* FROM
RV_ACTIVATED_FORMS_MERGE F WHERE (SUBJECTVISITID, FORMID, FORMINDEX) IN
(SELECT SUBJECTVISITID, FORMID, FORMINDEX FROM RT_QUERY WHERE QUERYTRANSID=
:B1 )) V ON (T.SUBJECTVISITID = V.SUBJECTVISITID AND T.FORMID=V.FORMID AND
T.FORMINDEX=V.FORMINDEX) WHEN MATCHED THEN UPDATE SET T.SITEID = V.SITEID,
T.DOV = V.DOV, T.PAGEREPEATKEY = V.PAGEREPEATKEY, T.VISITDELETED =
V.VISITDELETED, T.INFORMACTIVATIONTIME = V.INFORMACTIVATIONTIME, T.FORMTYPE
= V.FORMTYPE, T.HISTORICALORDER = V.HISTORICALORDER, T.USERID = V.USERID,
T.PFTIMESTAMP = V.PFTIMESTAMP, T.TRANSACTIONID = V.TRANSACTIONID, T.REASON =
V.REASON, T.ACTION = V.ACTION, T.STATEHIST = V.STATEHIST, T.ORIGINALSTATE =
V.ORIGINALSTATE, T.STARTEDSTATE = V.STARTEDSTATE, T.FMINSTARTEDSTATE =
V.FMINSTARTEDSTATE, T.FMAXSTARTEDSTATE = V.FMAXSTARTEDSTATE,
T.SDVREADYSTATE = V.SDVREADYSTATE, T.FMINSDVREADYSTATE =
V.FMINSDVREADYSTATE, T.FMAXSDVREADYSTATE = V.FMAXSDVREADYSTATE,

T.SDVPARTIALSTATE = V.SDVPARTIALSTATE, T.FMINSDVPARTIALSTATE =


V.FMINSDVPARTIALSTATE, T.FMAXSDVPARTIALSTATE = V.FMAXSDVPARTIALSTATE,
T.SDVCOMPLETESTATE = V.SDVCOMPLETESTATE, T.FMINSDVCOMPLETESTATE =
V.FMINSDVCOMPLETESTATE, T.FMAXSDVCOMPLETESTATE = V.FMAXSDVCOMPLETESTATE,
T.SDVSELECTEDSTATE = V.SDVSELECTEDSTATE, T.FMINSDVSELECTEDSTATE =
V.FMINSDVSELECTEDSTATE, T.FMAXSDVSELECTEDSTATE = V.FMAXSDVSELECTEDSTATE,
T.LOCKEDSTATE = V.LOCKEDSTATE, T.FMINLOCKEDSTATE = V.FMINLOCKEDSTATE,
T.FMAXLOCKEDSTATE = V.FMAXLOCKEDSTATE, T.FROZENSTATE = V.FROZENSTATE,
T.FMINFROZENSTATE = V.FMINFROZENSTATE, T.FMAXFROZENSTATE =
V.FMAXFROZENSTATE, T.SIGNEDSTATE = V.SIGNEDSTATE, T.FMINSIGNEDSTATE =
V.FMINSIGNEDSTATE, T.FMAXSIGNEDSTATE = V.FMAXSIGNEDSTATE, T.COMPLETESTATE =
V.COMPLETESTATE, T.FMINCOMPLETESTATE = V.FMINCOMPLETESTATE,
T.FMAXCOMPLETESTATE = V.FMAXCOMPLETESTATE, T.HASQUERIESSTATE =
V.HASQUERIESSTATE, T.FMINHASQUERIESSTATE = V.FMINHASQUERIESSTATE,
T.FMAXHASQUERIESSTATE = V.FMAXHASQUERIESSTATE, T.HASCOMMENTSSTATE =
V.HASCOMMENTSSTATE, T.FMINHASCOMMENTSSTATE = V.FMINHASCOMMENTSSTATE,
T.FMAXHASCOMMENTSSTATE = V.FMAXHASCOMMENTSSTATE, T.HASDATASTATE =
V.HASDATASTATE, T.FMINHASDATASTATE = V.FMINHASDATASTATE, T.FMAXHASDATASTATE
= V.FMAXHASDATASTATE, T.MISSINGITEMSSTATE = V.MISSINGITEMSSTATE,
T.FMINMISSINGITEMSSTATE = V.FMINMISSINGITEMSSTATE, T.FMAXMISSINGITEMSSTATE =
V.FMAXMISSINGITEMSSTATE, T.NOTDONESTATE = V.NOTDONESTATE,
T.FMINNOTDONESTATE = V.FMINNOTDONESTATE, T.FMAXNOTDONESTATE =
V.FMAXNOTDONESTATE, T.DELETEDSTATE = V.DELETEDSTATE, T.FMINDELETEDSTATE =
V.FMINDELETEDSTATE, T.FMAXDELETEDSTATE = V.FMAXDELETEDSTATE,
T.DELETEDDYNAMICFORMSTATE = V.DELETEDDYNAMICFORMSTATE,
T.FMINDELETEDDYNAMICFORMSTATE = V.FMINDELETEDDYNAMICFORMSTATE,
T.FMAXDELETEDDYNAMICFORMSTATE = V.FMAXDELETEDDYNAMICFORMSTATE, T.BOOKSIGN =
V.BOOKSIGN, T.FMINBOOKSIGN = V.FMINBOOKSIGN, T.FMAXBOOKSIGN =
V.FMAXBOOKSIGN, T.INFORMPARTIALURL_CRFVIEW = V.INFORMPARTIALURL_CRFVIEW,
T.COUNTOPENQUERIES = V.COUNTOPENQUERIES, T.COUNTANSWEREDQUERIES =
V.COUNTANSWEREDQUERIES, T.COUNTCANDIDATEQUERIES = V.COUNTCANDIDATEQUERIES,
T.COUNTCLOSEDQUERIES = V.COUNTCLOSEDQUERIES, T.ITEMSMARKEDINCOMPLETE =
V.ITEMSMARKEDINCOMPLETE, T.REVIEWSTATE1 = V.REVIEWSTATE1,
T.REVIEWSTATE1DATECHANGED = V.REVIEWSTATE1DATECHANGED, T.REVIEWSTATE2 =
V.REVIEWSTATE2, T.REVIEWSTATE2DATECHANGED = V.REVIEWSTATE2DATECHANGED,
T.REVIEWSTATE3 = V.REVIEWSTATE3, T.REVIEWSTATE3DATECHANGED =
V.REVIEWSTATE3DATECHANGED, T.REVIEWSTATE4 = V.REVIEWSTATE4,
T.REVIEWSTATE4DATECHANGED = V.REVIEWSTATE4DATECHANGED, T.REVIEWSTATE5 =
V.REVIEWSTATE5, T.REVIEWSTATE5DATECHANGED = V.REVIEWSTATE5DATECHANGED,
T.MODIFIEDDATETIME = CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),
T.MODIFIEDBYUSERID = :B2 WHEN NOT MATCHED THEN INSERT (T.SUBJECTVISITID,
T.SUBJECTID, T.SITEID, T.VISITID, T.VISITINDEX, T.DOV, T.VISITDELETED,
T.FORMID, T.FORMREV, T.FORMINDEX, T.PAGEREPEATKEY, T.INFORMACTIVATIONTIME,
T.FORMTYPE, T.HISTORICALORDER,T.USERID,T.PFTIMESTAMP,T.TRANSACTIONID,
T.REASON,T.ACTION, T.STATEHIST, T.ORIGINALSTATE, T.STARTEDSTATE,
T.FMINSTARTEDSTATE, T.FMAXSTARTEDSTATE, T.SDVREADYSTATE,
T.FMINSDVREADYSTATE, T.FMAXSDVREADYSTATE, T.SDVPARTIALSTATE,
T.FMINSDVPARTIALSTATE, T.FMAXSDVPARTIALSTATE, T.SDVCOMPLETESTATE,
T.FMINSDVCOMPLETESTATE, T.FMAXSDVCOMPLETESTATE, T.SDVSELECTEDSTATE,
T.FMINSDVSELECTEDSTATE, T.FMAXSDVSELECTEDSTATE, T.LOCKEDSTATE,
T.FMINLOCKEDSTATE, T.FMAXLOCKEDSTATE, T.FROZENSTATE, T.FMINFROZENSTATE,
T.FMAXFROZENSTATE, T.SIGNEDSTATE, T.FMINSIGNEDSTATE, T.FMAXSIGNEDSTATE,
T.COMPLETESTATE, T.FMINCOMPLETESTATE, T.FMAXCOMPLETESTATE,
T.HASQUERIESSTATE, T.FMINHASQUERIESSTATE, T.FMAXHASQUERIESSTATE,
T.HASCOMMENTSSTATE, T.FMINHASCOMMENTSSTATE, T.FMAXHASCOMMENTSSTATE,
T.HASDATASTATE, T.FMINHASDATASTATE, T.FMAXHASDATASTATE, T.MISSINGITEMSSTATE,
T.FMINMISSINGITEMSSTATE, T.FMAXMISSINGITEMSSTATE, T.NOTDONESTATE,
T.FMINNOTDONESTATE, T.FMAXNOTDONESTATE, T.DELETEDSTATE, T.FMINDELETEDSTATE,
T.FMAXDELETEDSTATE, T.DELETEDDYNAMICFORMSTATE,
T.FMINDELETEDDYNAMICFORMSTATE, T.FMAXDELETEDDYNAMICFORMSTATE, T.BOOKSIGN,

T.FMINBOOKSIGN, T.FMAXBOOKSIGN, T.INFORMPARTIALURL_CRFVIEW,


T.DATEDATACHANGED, T.COUNTOPENQUERIES, T.COUNTANSWEREDQUERIES,
T.COUNTCANDIDATEQUERIES, T.COUNTCLOSEDQUERIES, T.ITEMSMARKEDINCOMPLETE,
T.REVIEWSTATE1, T.REVIEWSTATE1DATECHANGED, T.REVIEWSTATE2,
T.REVIEWSTATE2DATECHANGED, T.REVIEWSTATE3, T.REVIEWSTATE3DATECHANGED,
T.REVIEWSTATE4, T.REVIEWSTATE4DATECHANGED, T.REVIEWSTATE5,
T.REVIEWSTATE5DATECHANGED, T.CREATEDDATETIME, T.CREATEDBYUSERID,
T.MODIFIEDDATETIME, T.MODIFIEDBYUSERID) VALUES (V.SUBJECTVISITID,
V.SUBJECTID, V.SITEID, V.VISITID, V.VISITINDEX, V.DOV, V.VISITDELETED,
V.FORMID, V.FORMREV, V.FORMINDEX, V.PAGEREPEATKEY, V.INFORMACTIVATIONTIME,
V.FORMTYPE, V.HISTORICALORDER, V.USERID, V.PFTIMESTAMP, V.TRANSACTIONID,
V.REASON, V.ACTION, V.STATEHIST, V.ORIGINALSTATE, V.STARTEDSTATE,
V.FMINSTARTEDSTATE, V.FMAXSTARTEDSTATE, V.SDVREADYSTATE,
V.FMINSDVREADYSTATE, V.FMAXSDVREADYSTATE, V.SDVPARTIALSTATE,
V.FMINSDVPARTIALSTATE, V.FMAXSDVPARTIALSTATE, V.SDVCOMPLETESTATE,
V.FMINSDVCOMPLETESTATE, V.FMAXSDVCOMPLETESTATE, V.SDVSELECTEDSTATE,
V.FMINSDVSELECTEDSTATE, V.FMAXSDVSELECTEDSTATE, V.LOCKEDSTATE,
V.FMINLOCKEDSTATE, V.FMAXLOCKEDSTATE, V.FROZENSTATE, V.FMINFROZENSTATE,
V.FMAXFROZENSTATE, V.SIGNEDSTATE, V.FMINSIGNEDSTATE, V.FMAXSIGNEDSTATE,
V.COMPLETESTATE, V.FMINCOMPLETESTATE, V.FMAXCOMPLETESTATE,
V.HASQUERIESSTATE, V.FMINHASQUERIESSTATE, V.FMAXHASQUERIESSTATE,
V.HASCOMMENTSSTATE, V.FMINHASCOMMENTSSTATE, V.FMAXHASCOMMENTSSTATE,
V.HASDATASTATE, V.FMINHASDATASTATE, V.FMAXHASDATASTATE, V.MISSINGITEMSSTATE,
V.FMINMISSINGITEMSSTATE, V.FMAXMISSINGITEMSSTATE, V.NOTDONESTATE,
V.FMINNOTDONESTATE, V.FMAXNOTDONESTATE, V.DELETEDSTATE, V.FMINDELETEDSTATE,
V.FMAXDELETEDSTATE, V.DELETEDDYNAMICFORMSTATE,
V.FMINDELETEDDYNAMICFORMSTATE, V.FMAXDELETEDDYNAMICFORMSTATE, V.BOOKSIGN,
V.FMINBOOKSIGN, V.FMAXBOOKSIGN, V.INFORMPARTIALURL_CRFVIEW, V.DATECHANGED,
V.COUNTOPENQUERIES, V.COUNTANSWEREDQUERIES, V.COUNTCANDIDATEQUERIES,
V.COUNTCLOSEDQUERIES, V.ITEMSMARKEDINCOMPLETE, V.REVIEWSTATE1,
V.REVIEWSTATE1DATECHANGED, V.REVIEWSTATE2, V.REVIEWSTATE2DATECHANGED,
V.REVIEWSTATE3, V.REVIEWSTATE3DATECHANGED, V.REVIEWSTATE4,
V.REVIEWSTATE4DATECHANGED, V.REVIEWSTATE5, V.REVIEWSTATE5DATECHANGED,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.71
0.71
0
24158
6
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.71
0.71
0
24158
6
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 MERGE RT_ACTIVATED_FORMS (cr=24158 pr=0 pw=0
time=212551 us)
1
1
1 VIEW (cr=24158 pr=0 pw=0 time=212376 us)
1
1
1
NESTED LOOPS OUTER (cr=24158 pr=0 pw=0 time=
212365 us cost=8089 size=2677 card=1)
1
1
1
VIEW (cr=24154 pr=0 pw=0 time=212344 us co

st=8086 size=2256 card=1)


1
1
1
NESTED LOOPS OUTER (cr=24154 pr=0 pw=0 tim
e=212310 us cost=8086 size=582 card=1)
1
1
1
NESTED LOOPS (cr=24152 pr=0 pw=0 time=21
2263 us cost=8078 size=466 card=1)
1
1
1
NESTED LOOPS OUTER (cr=24148 pr=0 pw=0 t
ime=212245 us cost=8076 size=152 card=1)
1
1
1
NESTED LOOPS (cr=24145 pr=0 pw=0 time=
212218 us cost=8075 size=124 card=1)
1
1
1
NESTED LOOPS (cr=24143 pr=0 pw=0 time
=212205 us cost=8074 size=105 card=1)
1
1
1
NESTED LOOPS (cr=24139 pr=0 pw=0 tim
e=212188 us cost=8071 size=68 card=1)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time
=212149 us cost=8068 size=24 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=2413
5 pr=0 pw=0 time=212111 us cost=8068 size=24 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_SUBJE
CTVISIT (cr=4 pr=0 pw=0 time=35 us cost=2 size=44 card=1)
1
1
1
INDEX RANGE SCAN IRI_SUBJECTVISIT_0
1 (cr=3 pr=0 pw=0 time=24 us cost=1 size=0 card=1)(object id 22574)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJEC
TVECHAPTERPAGE (cr=4 pr=0 pw=0 time=16 us cost=3 size=37 card=1)
1
1
1
INDEX RANGE SCAN XPKPF_SUBJECTVECHAP
TERPAGE (cr=3 pr=0 pw=0 time=11 us cost=2 size=0 card=1)(object id 20978)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORM_RE
VS (cr=2 pr=0 pw=0 time=13 us cost=1 size=19 card=1)
1
1
1
INDEX UNIQUE SCAN RT_FORM_REVS_PK (cr
=1 pr=0 pw=0 time=8 us cost=0 size=0 card=1)(object id 22624)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_QUERY_SU
MMARY (cr=3 pr=0 pw=0 time=21 us cost=1 size=28 card=1)
1
1
1
INDEX UNIQUE SCAN RT_QUERY_SUMMARY_PK
(cr=2 pr=0 pw=0 time=16 us cost=0 size=0 card=1)(object id 22583)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORMHISTO
RY_SUMMARY (cr=4 pr=0 pw=0 time=17 us cost=2 size=314 card=1)
1
1
1
INDEX UNIQUE SCAN PK_FORMHISTORY_SUMMAR
Y (cr=3 pr=0 pw=0 time=9 us cost=1 size=0 card=1)(object id 22591)
0
0
0
VIEW PUSHED PREDICATE RV_CRF_REVIEWSTATE
S (cr=2 pr=0 pw=0 time=45 us cost=8 size=116 card=1)
0
0
0
SORT GROUP BY (cr=2 pr=0 pw=0 time=42 us
cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=21 u
s cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=19
us cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=19
us cost=6 size=69 card=1)
0
0
0
VIEW VW_SQ_2 (cr=2 pr=0 pw=0 time=1
7 us cost=4 size=31 card=1)
0
0
0
SORT GROUP BY (cr=2 pr=0 pw=0 time=
17 us cost=4 size=28 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REV
IEWSTATEHISTORY (cr=2 pr=0 pw=0 time=9 us cost=3 size=28 card=1)
0
0
0
INDEX RANGE SCAN XIF_SVECP_REVIEW
STATEHISTORY (cr=2 pr=0 pw=0 time=7 us cost=2 size=0 card=1)(object id 21057)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVIE
WSTATEHISTORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=38 card=1)
0
0
0
INDEX RANGE SCAN XIF_SVECP_REVIEWST
ATEHISTORY (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 21057)
0
0
0
INDEX UNIQUE SCAN XPKPF_REVISIONHISTO

RY (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20939)


0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVISIO
NHISTORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=25 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ACTIVATED_FO
RMS (cr=4 pr=0 pw=0 time=18 us cost=3 size=421 card=1)
1
1
1
INDEX RANGE SCAN IRI_ACTIVATED_FORMS_01 (c
r=3 pr=0 pw=0 time=9 us cost=2 size=0 card=1)(object id 22594)
********************************************************************************
SQL ID: gk5318vd2qq0v Plan Hash: 1806281070
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B3 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_IS V WHERE :B2 =:B1 AND (SUBJECTVISITID, FORMID,
FORMINDEX) IN (SELECT DISTINCT SV.SUBJECTCHAPTERID, IC.PAGEID, IC.PAGEINDEX
FROM PF_REVISIONHISTORY RH, PF_COMMENT C, PF_ITEMCONTEXT IC,
PF_SUBJECTVECHAPTER_CUR SV WHERE RH.TRANSACTIONID=:B3 AND RH.DBUID=
C.COMMENTID AND RH.REVISIONNUMBER=C.COMMENTREVISIONNUMBER AND C.CONTEXTID=
IC.CONTEXTID AND IC.SUBJECTKEYID=SV.SUBJECTKEYID AND IC.CHAPTERID=
SV.CHAPTERID AND IC.CHAPTERINDEX=SV.CHAPTERINDEX)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.57
0.67
0
0
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.57
0.67
0
0
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=0 pr=0 pw=0 time=
114 us)
0
0
0 VIEW VM_NWVW_2 (cr=0 pr=0 pw=0 time=97 us co
st=48 size=442 card=1)
0
0
0
HASH UNIQUE (cr=0 pr=0 pw=0 time=94 us cost=
48 size=305 card=1)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=2 us)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us co
st=44 size=305 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us c
ost=44 size=305 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us

cost=41 size=244 card=1)


0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=36 size=217 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 u
s cost=26 size=875 card=5)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0
us cost=17 size=333 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0
us cost=11 size=231 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=
0 us cost=5 size=138 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REV
ISIONHISTORY (cr=0 pr=0 pw=0 time=0 us cost=4 size=72 card=3)
0
0
0
INDEX RANGE SCAN XIF705PF_REVISIO
NHISTORY (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 20940)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_COM
MENT (cr=0 pr=0 pw=0 time=0 us cost=1 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_COMMENT (
cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20826)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEM
CONTEXT (cr=0 pr=0 pw=0 time=0 us cost=2 size=31 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ITEMCONTEX
T (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20881)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJE
CTVECHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=34 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTV
ECHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCO
NTEXT (cr=0 pr=0 pw=0 time=0 us cost=3 size=128 card=2)
0
0
0
INDEX RANGE SCAN XIE4PF_ITEMCONTEXT
(cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20887)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECT
VECHAPTERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=42 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAP
TERPAGE (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA
_CONTEXT (cr=0 pr=0 pw=0 time=0 us cost=5 size=108 card=4)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3
(cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=4)(object id 22406)
0
0
0
INDEX RANGE SCAN XPKPF_ITEMDATA (cr=0 pr
=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20892)
0
0
0
SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 u
s)
0
0
0
FIRST ROW (cr=0 pr=0 pw=0 time=0 us c
ost=3 size=19 card=1)
0
0
0
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITEM
DATA (cr=0 pr=0 pw=0 time=0 us cost=3 size=19 card=1)(object id 20892)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA (
cr=0 pr=0 pw=0 time=0 us cost=3 size=61 card=1)
********************************************************************************
SQL ID: 76pd3g4hf64dw Plan Hash: 2577571609
select *
from
PF_EXECUTIONPLANQUEUE where EPInstanceID = (SELECT MIN(EPInstanceID) FROM
PF_ExecutionPlanQueue WHERE StartTime IS NULL AND FinishTime IS NULL AND
HandleLocally=1)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.52
0.52
22174
22213
0
0
Fetch
1
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.52
0.52
22174
22213
0
0
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID PF_EXECUTIONPLANQU
EUE (cr=22213 pr=22174 pw=0 time=529114 us cost=2 size=538 card=1)
0
0
0 INDEX UNIQUE SCAN XPKPF_EXECUTIONPLANQUEUE (c
r=22213 pr=22174 pw=0 time=529111 us cost=1 size=0 card=1)(object id 20865)
1
1
1
SORT AGGREGATE (cr=22213 pr=22174 pw=0 time=
529103 us)
0
0
0
TABLE ACCESS FULL PF_EXECUTIONPLANQUEUE (cr
=22213 pr=22174 pw=0 time=529089 us cost=7298 size=60190 card=2315)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------direct path read
1386
0.00
0.13
Disk file operations I/O
3
0.00
0.00
SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 43n0uxd8m2q38 Plan Hash: 3826897021
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B1 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_IS V WHERE CONTEXTID IN (SELECT DBUID FROM
PF_REVISIONHISTORY WHERE TRANSACTIONID=:B1 UNION ALL SELECT CONTEXTID FROM
PF_REVISIONHISTORY RH, PF_QUERY Q WHERE RH.TRANSACTIONID=:B1 AND RH.DBUID=
Q.QUERYID AND RH.REVISIONNUMBER=Q.QUERYREVISIONNUMBER)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.50
0.51
11
44
24
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ----------

total

0.50

0.51

11

44

24

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=44 pr=11 pw=0 tim
e=9504 us)
1
1
1 NESTED LOOPS (cr=43 pr=5 pw=0 time=8602 us c
ost=51 size=200 card=1)
1
1
1
NESTED LOOPS (cr=42 pr=4 pw=0 time=1340 us
cost=51 size=200 card=4)
1
1
1
NESTED LOOPS (cr=39 pr=4 pw=0 time=1326 us
cost=46 size=185 card=1)
1
1
1
NESTED LOOPS (cr=35 pr=4 pw=0 time=1305 u
s cost=44 size=155 card=1)
1
1
1
NESTED LOOPS (cr=31 pr=0 pw=0 time=165 u
s cost=42 size=133 card=1)
1
1
1
NESTED LOOPS (cr=24 pr=0 pw=0 time=126
us cost=24 size=462 card=6)
3
3
3
VIEW VW_NSO_1 (cr=15 pr=0 pw=0 time=95
us cost=12 size=78 card=6)
3
3
3
SORT UNIQUE (cr=15 pr=0 pw=0 time=92 u
s cost=12 size=186 card=6)
3
3
3
UNION-ALL (cr=15 pr=0 pw=0 time=31 u
s)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVIS
IONHISTORY (cr=4 pr=0 pw=0 time=28 us cost=4 size=42 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONH
ISTORY (cr=3 pr=0 pw=0 time=23 us cost=3 size=0 card=3)(object id 20940)
1
1
1
NESTED LOOPS (cr=11 pr=0 pw=0 time=
39 us cost=8 size=144 card=3)
1
1
1
NESTED LOOPS (cr=10 pr=0 pw=0 time
=31 us cost=8 size=144 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REV
ISIONHISTORY (cr=4 pr=0 pw=0 time=6 us cost=4 size=72 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIO
NHISTORY (cr=3 pr=0 pw=0 time=4 us cost=3 size=0 card=3)(object id 20940)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=
6 pr=0 pw=0 time=24 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUER
Y (cr=1 pr=0 pw=0 time=5 us cost=2 size=24 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMCONT
EXT (cr=9 pr=0 pw=0 time=31 us cost=2 size=64 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (c
r=8 pr=0 pw=0 time=23 us cost=1 size=0 card=1)(object id 20881)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA
(cr=7 pr=0 pw=0 time=36 us cost=3 size=56 card=1)
1
1
1
INDEX RANGE SCAN XPKPF_ITEMDATA (cr=6 p
r=0 pw=0 time=29 us cost=2 size=0 card=1)(object id 20892)
1
1
1
SORT AGGREGATE (cr=3 pr=0 pw=0 time=11
us)
1
1
1
FIRST ROW (cr=3 pr=0 pw=0 time=5 us
cost=3 size=19 card=1)
1
1
1
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITE

MDATA (cr=3 pr=0 pw=0 time=5 us cost=3 size=19 card=1)(object id 20892)


1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVEC
HAPTER_CUR (cr=4 pr=4 pw=0 time=1138 us cost=2 size=22 card=1)
1
1
1
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHAP
TER_CUR (cr=3 pr=3 pw=0 time=1019 us cost=1 size=0 card=1)(object id 22316)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTERPAGE (cr=4 pr=0 pw=0 time=21 us cost=2 size=30 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTERP
AGE (cr=3 pr=0 pw=0 time=14 us cost=1 size=0 card=1)(object id 20978)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=
3 pr=0 pw=0 time=10 us cost=2 size=0 card=4)(object id 22406)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONT
EXT (cr=1 pr=1 pw=0 time=7260 us cost=5 size=60 card=4)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
11
0.00
0.00
********************************************************************************
SQL ID: 8j0dvsybg185f Plan Hash: 818113111
SELECT V_StrData.subjectKeyID
FROM
PF_ThingTypeAttribute, PF_ThingType, (SELECT PF_ItemData.auditOrder,
PF_ItemContext.itemID, PF_ItemContext.contextID, PF_ItemContext.chapterID,
PF_ItemContext.pageID, PF_ItemContext.subjectKeyID,
PF_ItemContext.sectionID FROM PF_ItemData, PF_ItemContext, PF_ControlData
WHERE PF_ItemData.contextID = PF_ItemContext.contextID AND
PF_ItemData.contextID = PF_ControlData.contextID AND PF_ItemData.auditOrder
= PF_ControlData.auditOrder AND PF_ControlData.invalidatingRevisionNumber =
0 AND PF_ItemData.invalidatingRevisionNumber = 0 AND
PF_ControlData.strValue = :1 ) V_StrData WHERE ROWNUM <= 1 AND
PF_ThingType.typeName = 'BAF5D75C-1C29-11d4-A126-00D0B709DF4E' AND
PF_ThingTypeAttribute.thingTypeID = PF_ThingType.thingTypeID AND
PF_ThingTypeAttribute.thingTypeRevisionNumber =
PF_ThingType.thingTypeRevisionNumber AND
PF_ThingType.thingTypeRevisionNumber = (select
max(tt2.thingTypeRevisionNumber) from PF_ThingType tt2 where
tt2.ThingTypeID=PF_ThingType.ThingTypeID) AND
PF_ThingTypeAttribute.attributeName = 'Subject' AND
PF_ThingTypeAttribute.chapterID = V_StrData.chapterID AND
PF_ThingTypeAttribute.pageID = V_StrData.pageID AND
PF_ThingTypeAttribute.sectionID = V_StrData.sectionID AND
PF_ThingTypeAttribute.itemID = V_StrData.itemID AND (V_StrData.auditOrder =
(SELECT MAX(auditOrder) FROM PF_ItemData A WHERE A.contextID =
V_StrData.contextID))
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.39
0.40
0
0
0
0
Fetch
2
0.01
0.02
39
929
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.42
0.42
39
929
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1

Optimizer mode: ALL_ROWS


Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 COUNT STOPKEY (cr=929 pr=39 pw=0 time=20376 us
)
1
1
1 NESTED LOOPS (cr=929 pr=39 pw=0 time=20372 u
s cost=671 size=204 card=1)
117
117
117
NESTED LOOPS (cr=822 pr=11 pw=0 time=7555 u
s cost=671 size=204 card=1)
117
117
117
NESTED LOOPS (cr=586 pr=0 pw=0 time=5303 u
s cost=668 size=181 card=1)
117
117
117
NESTED LOOPS (cr=114 pr=0 pw=0 time=2432
us cost=667 size=162 card=1)
1
1
1
NESTED LOOPS (cr=6 pr=0 pw=0 time=1334 u
s cost=4 size=128 card=1)
1
1
1
HASH JOIN (cr=3 pr=0 pw=0 time=1275 us
cost=3 size=78 card=1)
3
3
3
TABLE ACCESS BY INDEX ROWID PF_THINGTYP
E (cr=2 pr=0 pw=0 time=76 us cost=2 size=156 card=3)
3
3
3
INDEX RANGE SCAN XIE1PF_THINGTYPE (cr=
1 pr=0 pw=0 time=44 us cost=1 size=0 card=3)(object id 21001)
13
13
13
VIEW VW_SQ_1 (cr=1 pr=0 pw=0 time=863
us cost=1 size=338 card=13)
13
13
13
HASH GROUP BY (cr=1 pr=0 pw=0 time=861
us cost=1 size=195 card=13)
77
77
77
INDEX FULL SCAN XPKPF_THINGTYPE (cr=1
pr=0 pw=0 time=91 us cost=1 size=1155 card=77)(object id 21000)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_THINGTYPE
ATTRIBUTE (cr=3 pr=0 pw=0 time=57 us cost=1 size=50 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_THINGTYPEATTRIB
UTE (cr=2 pr=0 pw=0 time=42 us cost=0 size=0 card=1)(object id 21003)
117
117
117
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEX
T (cr=108 pr=0 pw=0 time=981 us cost=663 size=34 card=1)
117
117
117
INDEX RANGE SCAN XIE1PF_ITEMCONTEXT (cr=
3 pr=0 pw=0 time=34 us cost=276 size=0 card=995)(object id 20884)
117
117
117
INDEX UNIQUE SCAN XPKPF_ITEMDATA (cr=472 p
r=0 pw=0 time=1791 us cost=1 size=19 card=1)(object id 20892)
117
117
117
SORT AGGREGATE (cr=236 pr=0 pw=0 time=142
2 us)
117
117
117
FIRST ROW (cr=236 pr=0 pw=0 time=1227 u
s cost=3 size=17 card=1)
117
117
117
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITEMDA
TA (cr=236 pr=0 pw=0 time=1175 us cost=3 size=17 card=1)(object id 20892)
117
117
117
INDEX RANGE SCAN XIF16PF_CONTROLDATA (cr=23
6 pr=11 pw=0 time=5358 us cost=2 size=0 card=1)(object id 20835)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_CONTROLDATA (
cr=107 pr=28 pw=0 time=10742 us cost=3 size=23 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
Disk file operations I/O
4
0.00
0.00
db file sequential read
39
0.00
0.00
SQL*Net message from client
2
0.00
0.00

********************************************************************************
SQL ID: 1djys4ysksmpv Plan Hash: 1758944301
INSERT INTO RT_FORMDATA SELECT V.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS
DATE), :B2 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM
RV_FORMDATA V, RT_ITEMDATA_CONTEXT IC WHERE V.CONTEXTID=IC.CONTEXTID AND
IC.TRANSACTIONID=:B1

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.41
0.41
16
24
28
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.41
0.41
16
24
28
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=24 pr=16 pw=0 tim
e=2166 us)
1
1
1 NESTED LOOPS (cr=23 pr=6 pw=0 time=712 us co
st=193 size=16780 card=1)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr=3
pr=0 pw=0 time=25 us cost=3 size=70 card=5)(object id 22407)
1
1
1
VIEW RV_FORMDATA (cr=20 pr=6 pw=0 time=685
us cost=38 size=16766 card=1)
1
1
1
UNION ALL PUSHED PREDICATE (cr=20 pr=6 pw=
0 time=680 us)
1
1
1
NESTED LOOPS OUTER (cr=13 pr=6 pw=0 time=5
42 us cost=14 size=357 card=1)
1
1
1
NESTED LOOPS OUTER (cr=13 pr=6 pw=0 time=
538 us cost=13 size=328 card=1)
1
1
1
NESTED LOOPS (cr=13 pr=6 pw=0 time=537
us cost=12 size=308 card=1)
1
1
1
NESTED LOOPS OUTER (cr=9 pr=6 pw=0 time
=518 us cost=9 size=250 card=1)
1
1
1
NESTED LOOPS (cr=7 pr=4 pw=0 time=380
us cost=8 size=207 card=1)
1
1
1
NESTED LOOPS OUTER (cr=4 pr=1 pw=0 ti
me=108 us cost=6 size=177 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_CONTR
OLDATA (cr=4 pr=1 pw=0 time=106 us cost=5 size=151 card=1)
1
1
1
INDEX RANGE SCAN IX_CONTROLDATA_03
(cr=3 pr=0 pw=0 time=9 us cost=3 size=0 card=1)(object id 22547)
0
0
0
INDEX RANGE SCAN IRI_NOTDONE_CONTROL
_01 (cr=0 pr=0 pw=0 time=2 us cost=1 size=26 card=1)(object id 22403)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_MD_FOR
M_CONTROLIDS (cr=3 pr=3 pw=0 time=272 us cost=2 size=30 card=1)
1
1
1
INDEX RANGE SCAN IX_MD_FORM_CONTROLI
DS_02 (cr=2 pr=2 pw=0 time=189 us cost=1 size=0 card=1)(object id 22660)

0
0
0
TABLE ACCESS BY INDEX ROWID RT_ELEMENT
LABELS (cr=2 pr=2 pw=0 time=137 us cost=1 size=43 card=1)
0
0
0
INDEX UNIQUE SCAN RT_ELEMENTLABELS_PK
(cr=2 pr=2 pw=0 time=136 us cost=0 size=0 card=1)(object id 22670)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ACTIVATE
D_FORMS (cr=4 pr=0 pw=0 time=17 us cost=3 size=58 card=1)
1
1
1
INDEX RANGE SCAN IRI_ACTIVATED_FORMS_0
1 (cr=3 pr=0 pw=0 time=12 us cost=2 size=0 card=1)(object id 22594)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_UNITS (cr
=0 pr=0 pw=0 time=1 us cost=1 size=20 card=1)
0
0
0
INDEX RANGE SCAN IX_UNITS_PK (cr=0 pr=0
pw=0 time=1 us cost=0 size=0 card=1)(object id 22668)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_UNITS (cr=
0 pr=0 pw=0 time=1 us cost=1 size=29 card=1)
0
0
0
INDEX RANGE SCAN IX_UNITS_PK (cr=0 pr=0
pw=0 time=0 us cost=0 size=0 card=1)(object id 22668)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=27
us cost=24 size=491 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=2
7 us cost=22 size=464 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=
24 us cost=20 size=432 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time
=24 us cost=18 size=400 card=1)
0
0
0
NESTED LOOPS (cr=7 pr=0 pw=0 time=24
us cost=16 size=368 card=1)
0
0
0
NESTED LOOPS (cr=7 pr=0 pw=0 time=24
us cost=14 size=348 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 t
ime=24 us cost=11 size=290 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0
time=24 us cost=10 size=247 card=1)
0
0
0
NESTED LOOPS OUTER (cr=7 pr=0 pw=0
time=23 us cost=9 size=218 card=1)
0
0
0
NESTED LOOPS (cr=7 pr=0 pw=0 tim
e=22 us cost=8 size=198 card=1)
1
1
1
NESTED LOOPS OUTER (cr=4 pr=0 pw
=0 time=12 us cost=6 size=177 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_
CONTROLDATA (cr=4 pr=0 pw=0 time=11 us cost=5 size=151 card=1)
1
1
1
INDEX RANGE SCAN IX_CONTROLDAT
A_03 (cr=3 pr=0 pw=0 time=7 us cost=3 size=0 card=1)(object id 22547)
0
0
0
INDEX RANGE SCAN IRI_NOTDONE_CO
NTROL_01 (cr=0 pr=0 pw=0 time=1 us cost=1 size=26 card=1)(object id 22403)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_M
D_FORM_CONTROLIDS (cr=3 pr=0 pw=0 time=9 us cost=2 size=21 card=1)
1
1
1
INDEX RANGE SCAN IX_MD_FORM_CON
TROLIDS_02 (cr=2 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 22660)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_UN
ITS (cr=0 pr=0 pw=0 time=0 us cost=1 size=20 card=1)
0
0
0
INDEX RANGE SCAN IX_UNITS_PK (cr
=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22668)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_UNI
TS (cr=0 pr=0 pw=0 time=0 us cost=1 size=29 card=1)
0
0
0
INDEX RANGE SCAN IX_UNITS_PK (cr=
0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22668)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ELEM
ENTLABELS (cr=0 pr=0 pw=0 time=0 us cost=1 size=43 card=1)
0
0
0
INDEX UNIQUE SCAN RT_ELEMENTLABELS
_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 22670)

0
0
0
TABLE ACCESS BY INDEX ROWID RT_ACTIV
ATED_FORMS (cr=0 pr=0 pw=0 time=0 us cost=3 size=58 card=1)
0
0
0
INDEX RANGE SCAN IRI_ACTIVATED_FORM
S_01 (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 22594)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_CONTRO
LDATA (cr=0 pr=0 pw=0 time=0 us cost=2 size=20 card=1)
0
0
0
INDEX RANGE SCAN IX_CONTROLDATA_PK (
cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22544)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_CONTROL
DATA (cr=0 pr=0 pw=0 time=0 us cost=2 size=32 card=1)
0
0
0
INDEX RANGE SCAN IX_CONTROLDATA_PK (c
r=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22544)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_CONTROLD
ATA (cr=0 pr=0 pw=0 time=0 us cost=2 size=32 card=1)
0
0
0
INDEX RANGE SCAN IX_CONTROLDATA_PK (cr
=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22544)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_CONTROLDA
TA (cr=0 pr=0 pw=0 time=0 us cost=2 size=32 card=1)
0
0
0
INDEX RANGE SCAN IX_CONTROLDATA_PK (cr=
0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22544)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_CONTROLDAT
A (cr=0 pr=0 pw=0 time=0 us cost=2 size=27 card=1)
0
0
0
INDEX RANGE SCAN IX_CONTROLDATA_PK (cr=0
pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22544)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
16
0.00
0.00
********************************************************************************
SELECT *
FROM (
SELECT ROWNUM AS XNUM, MAIN.*, COUNT(ROWNUM) OVER () AS TOTALROWS
FROM ( SELECT * FROM DCV_QueryListings
WHERE SiteID = 141280 AND LanguageID = 2 AND (QueryState = 2) AND NOT (ItemID I
N (12461, 11009227, 6494, 10200, 6817, 14620, 12342, 1760953, 10843, 7103, 8106,
7630, 12492, 10809, 13186, 7678, 12761, 14852, 8358, 6505, 11197, 6995, 14288,
10956, 10684, 7573, 14764, 9545, 6074, 10817, 11191, 10270, 10100, 8094, 6190, 1
3398, 12480, 7567, 6479, 10831, 8128, 14228, 7598, 12749, 13463, 6612, 11202, 68
33, 8887, 11879, 11182, 14616, 7561, 14222, 10839, 8102, 12488, 10210, 6606, 148
48, 7555, 10139, 13182, 12757, 8269, 6161, 8878, 824986997, 6617, 11884, 11085,
10847, 14536, 8110, 8892, 13261, 7549, 7393, 7580, 13190, 7716, 12765, 842813, 1
1657, 6812, 6404, 12354, 843014, 10107, 13215, 10835, 11702, 14541, 8846, 8336,
8098, 11009301, 7418, 12535, 12484, 6500, 14218, 13195, 7245, 7007, 13178, 84300
8, 7296) OR (ItemSetID IN (12461, 11009227, 6494, 10200, 6817, 14620, 12342, 176
0953, 10843, 7103, 8106, 7630, 12492, 10809, 13186, 7678, 12761, 14852, 8358, 65
05, 11197, 6995, 14288, 10956, 10684, 7573, 14764, 9545, 6074, 10817, 11191, 102
70, 10100, 8094, 6190, 13398, 12480, 7567, 6479, 10831, 8128, 14228, 7598, 12749
, 13463, 6612, 11202, 6833, 8887, 11879, 11182, 14616, 7561, 14222, 10839, 8102,
12488, 10210, 6606, 14848, 7555, 10139, 13182, 12757, 8269, 6161, 8878, 8249869
97, 6617, 11884, 11085, 10847, 14536, 8110, 8892, 13261, 7549, 7393, 7580, 13190
, 7716, 12765, 842813, 11657, 6812, 6404, 12354, 843014, 10107, 13215, 10835, 11
702, 14541, 8846, 8336, 8098, 11009301, 7418, 12535, 12484, 6500, 14218, 13195,
7245, 7007, 13178, 843008, 7296) AND ItemSetID IS NOT NULL))
ORDER BY SiteMnemonic ,Patient,ChapterName || ChapterIndex,PageMnemonic || PageI
ndex,SectionID, Age ) MAIN
) WHERE (XNUM >= :1 and XNUM <= :2)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.01
0.01
0
0
0
0
Execute
1
0.39
0.39
0
0
0
0
Fetch
7
0.00
0.00
0
935
0
12
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
9
0.41
0.41
0
935
0
12
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------12
12
12 FILTER (cr=935 pr=0 pw=0 time=5183 us)
12
12
12 VIEW (cr=935 pr=0 pw=0 time=5181 us cost=23
size=7107 card=1)
12
12
12
WINDOW BUFFER (cr=935 pr=0 pw=0 time=5177 us
cost=23 size=7094 card=1)
12
12
12
COUNT (cr=935 pr=0 pw=0 time=5108 us)
12
12
12
VIEW (cr=935 pr=0 pw=0 time=5108 us cost=
21 size=7094 card=1)
24
24
24
SORT ORDER BY (cr=932 pr=0 pw=0 time=5107
us cost=21 size=353 card=1)
24
24
24
NESTED LOOPS (cr=932 pr=0 pw=0 time=114
8 us cost=20 size=353 card=1)
24
24
24
NESTED LOOPS (cr=908 pr=0 pw=0 time=10
74 us cost=20 size=353 card=1)
24
24
24
NESTED LOOPS (cr=899 pr=0 pw=0 time=9
08 us cost=19 size=342 card=1)
12
12
12
NESTED LOOPS (cr=874 pr=0 pw=0 time=
9307 us cost=16 size=318 card=1)
12
12
12
NESTED LOOPS (cr=848 pr=0 pw=0 time
=9186 us cost=15 size=302 card=1)
12
12
12
NESTED LOOPS (cr=832 pr=0 pw=0 tim
e=9141 us cost=14 size=276 card=1)
12
12
12
NESTED LOOPS (cr=829 pr=0 pw=0 ti
me=9072 us cost=13 size=255 card=1)
12
12
12
NESTED LOOPS (cr=813 pr=0 pw=0 t
ime=8960 us cost=12 size=230 card=1)
52
52
52
NESTED LOOPS (cr=47 pr=0 pw=0 t
ime=158 us cost=5 size=92 card=1)
1
1
1
NESTED LOOPS (cr=6 pr=0 pw=0 t
ime=71 us cost=3 size=64 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF
_SITEVOLUMEEDITION_CUR (cr=3 pr=0 pw=0 time=43 us cost=2 size=13 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SITEV
OLUMEEDITION_CUR (cr=2 pr=0 pw=0 time=32 us cost=1 size=0 card=1)(object id 2230
9)
1
1
1
TABLE ACCESS BY INDEX ROWID PF
_SITE_CUR (cr=3 pr=0 pw=0 time=27 us cost=1 size=51 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SITE_
CUR (cr=2 pr=0 pw=0 time=17 us cost=0 size=0 card=1)(object id 22306)
52
52
52
TABLE ACCESS BY INDEX ROWID PF_
PATIENT_CUR (cr=41 pr=0 pw=0 time=87 us cost=2 size=28 card=1)
52
52
52
INDEX RANGE SCAN XIF34PF_PATIE
NT_CUR (cr=2 pr=0 pw=0 time=76 us cost=1 size=0 card=1)(object id 22287)
12
12
12
TABLE ACCESS BY INDEX ROWID PF_Q

UERY_LISTING (cr=766 pr=0 pw=0 time=3899 us cost=7 size=138 card=1)


1330
1330
1330
INDEX RANGE SCAN XIE5PF_QUERY_L
ISTING (cr=53 pr=0 pw=0 time=639 us cost=1 size=0 card=9)(object id 22299)
12
12
12
MAT_VIEW ACCESS BY INDEX ROWID PF
_IM_PAGE (cr=16 pr=0 pw=0 time=63 us cost=1 size=25 card=1)
12
12
12
INDEX UNIQUE SCAN XPKPF_IM_PAGE_
_PK (cr=4 pr=0 pw=0 time=28 us cost=0 size=0 card=1)(object id 22329)
12
12
12
INDEX RANGE SCAN XPKPF_VOLUMEEDITI
ONCHAPTER (cr=3 pr=0 pw=0 time=36 us cost=1 size=21 card=1)(object id 21033)
12
12
12
MAT_VIEW ACCESS BY INDEX ROWID PF_I
M_CHAPTER (cr=16 pr=0 pw=0 time=38 us cost=1 size=26 card=1)
12
12
12
INDEX UNIQUE SCAN XPKPF_IM_CHAPTER
(cr=4 pr=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 22319)
12
12
12
TABLE ACCESS BY INDEX ROWID PF_USER
(cr=26 pr=0 pw=0 time=52 us cost=1 size=16 card=1)
12
12
12
INDEX UNIQUE SCAN XPKPF_USER (cr=14
pr=0 pw=0 time=26 us cost=0 size=0 card=1)(object id 21024)
24
24
24
TABLE ACCESS BY INDEX ROWID PF_PATIEN
TNUMBER_CUR (cr=25 pr=0 pw=0 time=172 us cost=3 size=48 card=2)
24
24
24
INDEX RANGE SCAN XAK52PF_PATIENTNUM_
CUR (cr=14 pr=0 pw=0 time=93 us cost=1 size=0 card=2)(object id 22291)
24
24
24
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (c
r=9 pr=0 pw=0 time=34 us cost=0 size=0 card=1)(object id 20958)
24
24
24
TABLE ACCESS BY INDEX ROWID PF_SEQUENCE
SET (cr=24 pr=0 pw=0 time=34 us cost=1 size=11 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ENTITYMAPP
ING (cr=3 pr=0 pw=0 time=8 us cost=2 size=40 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING (c
r=2 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 20858)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
7
0.00
0.00
SQL*Net message from client
7
0.00
0.00
********************************************************************************
SELECT PatientID, PatientNumberStr || ' (' || Initials || ')' PatNumInit FROM DC
V_ENROLLEDPATIENT
WHERE SiteID IN (SELECT SITEID FROM RT_USER_SITES WHERE USERID = :1) and SiteID=
:2 ORDER BY PatientNumberStr, Initials
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.39
0.39
0
0
0
0
Fetch
4
0.00
0.00
0
1224
0
102
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.40
0.40
0
1224
0
102
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

51
51
51 SORT ORDER BY (cr=612 pr=0 pw=0 time=4208 us c
ost=232 size=123 card=1)
51
51
51 FILTER (cr=612 pr=0 pw=0 time=9116 us)
118
118
118
NESTED LOOPS (cr=594 pr=0 pw=0 time=2003 us
cost=225 size=123 card=1)
118
118
118
NESTED LOOPS (cr=495 pr=0 pw=0 time=703 us
cost=225 size=116 card=1)
51
51
51
NESTED LOOPS (cr=366 pr=0 pw=0 time=6389
us cost=224 size=103 card=1)
51
51
51
NESTED LOOPS (cr=237 pr=0 pw=0 time=5472
us cost=168 size=980 card=14)
51
51
51
NESTED LOOPS (cr=108 pr=0 pw=0 time=362
5 us cost=98 size=798 card=14)
53
53
53
NESTED LOOPS (cr=54 pr=0 pw=0 time=292
8 us cost=40 size=1276 card=29)
1
1
1
INDEX UNIQUE SCAN RT_USER_SITES_PK (cr
=3 pr=0 pw=0 time=18 us cost=2 size=13 card=1)(object id 22563)
53
53
53
TABLE ACCESS BY INDEX ROWID PF_PATIENT
(cr=51 pr=0 pw=0 time=2909 us cost=38 size=899 card=29)
105
105
105
INDEX RANGE SCAN XIF40PF_PATIENT (cr=
2 pr=0 pw=0 time=24 us cost=1 size=0 card=56)(object id 20922)
51
51
51
VIEW PUSHED PREDICATE VW_SQ_4 (cr=54 p
r=0 pw=0 time=654 us cost=2 size=13 card=1)
53
53
53
FILTER (cr=54 pr=0 pw=0 time=602 us)
53
53
53
SORT AGGREGATE (cr=54 pr=0 pw=0 time=
549 us)
112
112
112
INDEX RANGE SCAN XPKPF_PATIENT (cr=5
4 pr=0 pw=0 time=386 us cost=2 size=34 card=2)(object id 20921)
51
51
51
VIEW PUSHED PREDICATE VW_SQ_3 (cr=129 p
r=0 pw=0 time=1164 us cost=5 size=13 card=1)
51
51
51
FILTER (cr=129 pr=0 pw=0 time=1120 us)
51
51
51
SORT AGGREGATE (cr=129 pr=0 pw=0 time=
1075 us)
118
118
118
TABLE ACCESS BY INDEX ROWID PF_PATIEN
TNUMBER (cr=129 pr=0 pw=0 time=954 us cost=5 size=51 card=3)
118
118
118
INDEX RANGE SCAN XIF17PF_PATIENTNUMB
ER (cr=51 pr=0 pw=0 time=419 us cost=2 size=0 card=3)(object id 20926)
51
51
51
TABLE ACCESS BY INDEX ROWID PF_PATIENTNUM
BER (cr=129 pr=0 pw=0 time=476 us cost=4 size=33 card=1)
118
118
118
INDEX RANGE SCAN XIF17PF_PATIENTNUMBER (
cr=51 pr=0 pw=0 time=196 us cost=1 size=0 card=3)(object id 20926)
118
118
118
TABLE ACCESS BY INDEX ROWID PF_PATIENTNUMB
ER (cr=129 pr=0 pw=0 time=466 us cost=1 size=39 card=3)
118
118
118
INDEX RANGE SCAN XIF17PF_PATIENTNUMBER (c
r=51 pr=0 pw=0 time=177 us cost=1 size=0 card=3)(object id 20926)
118
118
118
INDEX UNIQUE SCAN XPKPF_BOOKSTATE (cr=99 pr
=0 pw=0 time=384 us cost=0 size=7 card=1)(object id 20815)
1
1
1
NESTED LOOPS (cr=12 pr=0 pw=0 time=54 us co
st=3 size=51 card=1)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_SEQUENCESET
(cr=6 pr=0 pw=0 time=27 us cost=2 size=11 card=1)
2
2
2
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (cr=4
pr=0 pw=0 time=18 us cost=1 size=0 card=1)(object id 20958)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ENTITYMAPPIN
G (cr=6 pr=0 pw=0 time=24 us cost=1 size=40 card=1)
2
2
2
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING (cr=
4 pr=0 pw=0 time=16 us cost=0 size=0 card=1)(object id 20858)
1
1
1
NESTED LOOPS (cr=6 pr=0 pw=0 time=14 us cos
t=3 size=51 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SEQUENCESET

(cr=3 pr=0 pw=0 time=8 us cost=2 size=11 card=1)


1
1
1
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (cr=2
pr=0 pw=0 time=4 us cost=1 size=0 card=1)(object id 20958)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ENTITYMAPPIN
G (cr=3 pr=0 pw=0 time=4 us cost=1 size=40 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING (cr=
2 pr=0 pw=0 time=2 us cost=0 size=0 card=1)(object id 20858)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: cfd8ssy5658kj Plan Hash: 4234897206
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B1 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_IS V WHERE ITEMSETINDEX IN (SELECT ITEMSETINDEX FROM
RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=:B1 AND ITEMSETID IS NULL) AND
ITEMSETID IS NOT NULL
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.39
0.39
0
4
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.39
0.39
0
4
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=4 pr=0 pw=0 time=
85 us)
0
0
0 FILTER (cr=4 pr=0 pw=0 time=78 us)
0
0
0
HASH GROUP BY (cr=4 pr=0 pw=0 time=77 us cos
t=48 size=264 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=30 us co
st=47 size=264 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=29 us c
ost=47 size=264 card=4)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=29 us
cost=42 size=237 card=1)

0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=29 us
cost=40 size=218 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=29 u
s cost=37 size=157 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=29
us cost=25 size=690 card=6)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=28
us cost=13 size=486 card=6)
0
0
0
SORT UNIQUE (cr=4 pr=0 pw=0 time=27
us cost=9 size=34 card=2)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEM
DATA_CONTEXT (cr=4 pr=0 pw=0 time=23 us cost=9 size=34 card=2)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTE
XT_1 (cr=3 pr=0 pw=0 time=17 us cost=3 size=0 card=5)(object id 22407)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMC
ONTEXT (cr=0 pr=0 pw=0 time=0 us cost=3 size=256 card=4)
0
0
0
INDEX RANGE SCAN IRI_PFITEMCONTEXT_
02 (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=8)(object id 20891)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJEC
TVECHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=34 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVE
CHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECT
VECHAPTERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=42 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAP
TERPAGE (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA
(cr=0 pr=0 pw=0 time=0 us cost=3 size=61 card=1)
0
0
0
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=
0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20893)
0
0
0
INDEX RANGE SCAN XPKPF_ITEMDATA (cr=0 pr
=0 pw=0 time=0 us cost=2 size=19 card=1)(object id 20892)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (c
r=0 pr=0 pw=0 time=0 us cost=2 size=0 card=4)(object id 22406)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CO
NTEXT (cr=0 pr=0 pw=0 time=0 us cost=5 size=108 card=4)
********************************************************************************
SQL ID: 3byup2ybq6nth Plan Hash: 3229831093
MERGE INTO RT_ACTIVATED_FORMS T USING (SELECT F.* FROM
RV_ACTIVATED_FORMS_MERGE F WHERE (SUBJECTVISITID, FORMID, FORMINDEX) IN
(SELECT SUBJECTVISITID, FORMID, FORMINDEX FROM RT_FORMHISTORY_REVS WHERE
TRANSACTIONID=:B1 )) V ON (T.SUBJECTVISITID = V.SUBJECTVISITID AND T.FORMID=
V.FORMID AND T.FORMINDEX=V.FORMINDEX) WHEN MATCHED THEN UPDATE SET T.SITEID
= V.SITEID, T.DOV = V.DOV, T.PAGEREPEATKEY = V.PAGEREPEATKEY,
T.VISITDELETED = V.VISITDELETED, T.INFORMACTIVATIONTIME =
V.INFORMACTIVATIONTIME, T.FORMTYPE = V.FORMTYPE, T.HISTORICALORDER =
V.HISTORICALORDER, T.USERID = V.USERID, T.PFTIMESTAMP = V.PFTIMESTAMP,
T.TRANSACTIONID = V.TRANSACTIONID, T.REASON = V.REASON, T.ACTION = V.ACTION,
T.STATEHIST = V.STATEHIST, T.ORIGINALSTATE = V.ORIGINALSTATE,
T.STARTEDSTATE = V.STARTEDSTATE, T.FMINSTARTEDSTATE = V.FMINSTARTEDSTATE,
T.FMAXSTARTEDSTATE = V.FMAXSTARTEDSTATE, T.SDVREADYSTATE = V.SDVREADYSTATE,
T.FMINSDVREADYSTATE = V.FMINSDVREADYSTATE, T.FMAXSDVREADYSTATE =
V.FMAXSDVREADYSTATE, T.SDVPARTIALSTATE = V.SDVPARTIALSTATE,
T.FMINSDVPARTIALSTATE = V.FMINSDVPARTIALSTATE, T.FMAXSDVPARTIALSTATE =
V.FMAXSDVPARTIALSTATE, T.SDVCOMPLETESTATE = V.SDVCOMPLETESTATE,
T.FMINSDVCOMPLETESTATE = V.FMINSDVCOMPLETESTATE, T.FMAXSDVCOMPLETESTATE =
V.FMAXSDVCOMPLETESTATE, T.SDVSELECTEDSTATE = V.SDVSELECTEDSTATE,

T.FMINSDVSELECTEDSTATE = V.FMINSDVSELECTEDSTATE, T.FMAXSDVSELECTEDSTATE =


V.FMAXSDVSELECTEDSTATE, T.LOCKEDSTATE = V.LOCKEDSTATE, T.FMINLOCKEDSTATE =
V.FMINLOCKEDSTATE, T.FMAXLOCKEDSTATE = V.FMAXLOCKEDSTATE, T.FROZENSTATE =
V.FROZENSTATE, T.FMINFROZENSTATE = V.FMINFROZENSTATE, T.FMAXFROZENSTATE =
V.FMAXFROZENSTATE, T.SIGNEDSTATE = V.SIGNEDSTATE, T.FMINSIGNEDSTATE =
V.FMINSIGNEDSTATE, T.FMAXSIGNEDSTATE = V.FMAXSIGNEDSTATE, T.COMPLETESTATE =
V.COMPLETESTATE, T.FMINCOMPLETESTATE = V.FMINCOMPLETESTATE,
T.FMAXCOMPLETESTATE = V.FMAXCOMPLETESTATE, T.HASQUERIESSTATE =
V.HASQUERIESSTATE, T.FMINHASQUERIESSTATE = V.FMINHASQUERIESSTATE,
T.FMAXHASQUERIESSTATE = V.FMAXHASQUERIESSTATE, T.HASCOMMENTSSTATE =
V.HASCOMMENTSSTATE, T.FMINHASCOMMENTSSTATE = V.FMINHASCOMMENTSSTATE,
T.FMAXHASCOMMENTSSTATE = V.FMAXHASCOMMENTSSTATE, T.HASDATASTATE =
V.HASDATASTATE, T.FMINHASDATASTATE = V.FMINHASDATASTATE, T.FMAXHASDATASTATE
= V.FMAXHASDATASTATE, T.MISSINGITEMSSTATE = V.MISSINGITEMSSTATE,
T.FMINMISSINGITEMSSTATE = V.FMINMISSINGITEMSSTATE, T.FMAXMISSINGITEMSSTATE =
V.FMAXMISSINGITEMSSTATE, T.NOTDONESTATE = V.NOTDONESTATE,
T.FMINNOTDONESTATE = V.FMINNOTDONESTATE, T.FMAXNOTDONESTATE =
V.FMAXNOTDONESTATE, T.DELETEDSTATE = V.DELETEDSTATE, T.FMINDELETEDSTATE =
V.FMINDELETEDSTATE, T.FMAXDELETEDSTATE = V.FMAXDELETEDSTATE,
T.DELETEDDYNAMICFORMSTATE = V.DELETEDDYNAMICFORMSTATE,
T.FMINDELETEDDYNAMICFORMSTATE = V.FMINDELETEDDYNAMICFORMSTATE,
T.FMAXDELETEDDYNAMICFORMSTATE = V.FMAXDELETEDDYNAMICFORMSTATE, T.BOOKSIGN =
V.BOOKSIGN, T.FMINBOOKSIGN = V.FMINBOOKSIGN, T.FMAXBOOKSIGN =
V.FMAXBOOKSIGN, T.INFORMPARTIALURL_CRFVIEW = V.INFORMPARTIALURL_CRFVIEW,
T.COUNTOPENQUERIES = V.COUNTOPENQUERIES, T.COUNTANSWEREDQUERIES =
V.COUNTANSWEREDQUERIES, T.COUNTCANDIDATEQUERIES = V.COUNTCANDIDATEQUERIES,
T.COUNTCLOSEDQUERIES = V.COUNTCLOSEDQUERIES, T.ITEMSMARKEDINCOMPLETE =
V.ITEMSMARKEDINCOMPLETE, T.REVIEWSTATE1 = V.REVIEWSTATE1,
T.REVIEWSTATE1DATECHANGED = V.REVIEWSTATE1DATECHANGED, T.REVIEWSTATE2 =
V.REVIEWSTATE2, T.REVIEWSTATE2DATECHANGED = V.REVIEWSTATE2DATECHANGED,
T.REVIEWSTATE3 = V.REVIEWSTATE3, T.REVIEWSTATE3DATECHANGED =
V.REVIEWSTATE3DATECHANGED, T.REVIEWSTATE4 = V.REVIEWSTATE4,
T.REVIEWSTATE4DATECHANGED = V.REVIEWSTATE4DATECHANGED, T.REVIEWSTATE5 =
V.REVIEWSTATE5, T.REVIEWSTATE5DATECHANGED = V.REVIEWSTATE5DATECHANGED,
T.MODIFIEDDATETIME = CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),
T.MODIFIEDBYUSERID = :B2 WHEN NOT MATCHED THEN INSERT (T.SUBJECTVISITID,
T.SUBJECTID, T.SITEID, T.VISITID, T.VISITINDEX, T.DOV, T.VISITDELETED,
T.FORMID, T.FORMREV, T.FORMINDEX, T.PAGEREPEATKEY, T.INFORMACTIVATIONTIME,
T.FORMTYPE, T.HISTORICALORDER,T.USERID,T.PFTIMESTAMP,T.TRANSACTIONID,
T.REASON,T.ACTION, T.STATEHIST, T.ORIGINALSTATE, T.STARTEDSTATE,
T.FMINSTARTEDSTATE, T.FMAXSTARTEDSTATE, T.SDVREADYSTATE,
T.FMINSDVREADYSTATE, T.FMAXSDVREADYSTATE, T.SDVPARTIALSTATE,
T.FMINSDVPARTIALSTATE, T.FMAXSDVPARTIALSTATE, T.SDVCOMPLETESTATE,
T.FMINSDVCOMPLETESTATE, T.FMAXSDVCOMPLETESTATE, T.SDVSELECTEDSTATE,
T.FMINSDVSELECTEDSTATE, T.FMAXSDVSELECTEDSTATE, T.LOCKEDSTATE,
T.FMINLOCKEDSTATE, T.FMAXLOCKEDSTATE, T.FROZENSTATE, T.FMINFROZENSTATE,
T.FMAXFROZENSTATE, T.SIGNEDSTATE, T.FMINSIGNEDSTATE, T.FMAXSIGNEDSTATE,
T.COMPLETESTATE, T.FMINCOMPLETESTATE, T.FMAXCOMPLETESTATE,
T.HASQUERIESSTATE, T.FMINHASQUERIESSTATE, T.FMAXHASQUERIESSTATE,
T.HASCOMMENTSSTATE, T.FMINHASCOMMENTSSTATE, T.FMAXHASCOMMENTSSTATE,
T.HASDATASTATE, T.FMINHASDATASTATE, T.FMAXHASDATASTATE, T.MISSINGITEMSSTATE,
T.FMINMISSINGITEMSSTATE, T.FMAXMISSINGITEMSSTATE, T.NOTDONESTATE,
T.FMINNOTDONESTATE, T.FMAXNOTDONESTATE, T.DELETEDSTATE, T.FMINDELETEDSTATE,
T.FMAXDELETEDSTATE, T.DELETEDDYNAMICFORMSTATE,
T.FMINDELETEDDYNAMICFORMSTATE, T.FMAXDELETEDDYNAMICFORMSTATE, T.BOOKSIGN,
T.FMINBOOKSIGN, T.FMAXBOOKSIGN, T.INFORMPARTIALURL_CRFVIEW,
T.DATEDATACHANGED, T.COUNTOPENQUERIES, T.COUNTANSWEREDQUERIES,
T.COUNTCANDIDATEQUERIES, T.COUNTCLOSEDQUERIES, T.ITEMSMARKEDINCOMPLETE,
T.REVIEWSTATE1, T.REVIEWSTATE1DATECHANGED, T.REVIEWSTATE2,
T.REVIEWSTATE2DATECHANGED, T.REVIEWSTATE3, T.REVIEWSTATE3DATECHANGED,

T.REVIEWSTATE4, T.REVIEWSTATE4DATECHANGED, T.REVIEWSTATE5,


T.REVIEWSTATE5DATECHANGED, T.CREATEDDATETIME, T.CREATEDBYUSERID,
T.MODIFIEDDATETIME, T.MODIFIEDBYUSERID) VALUES (V.SUBJECTVISITID,
V.SUBJECTID, V.SITEID, V.VISITID, V.VISITINDEX, V.DOV, V.VISITDELETED,
V.FORMID, V.FORMREV, V.FORMINDEX, V.PAGEREPEATKEY, V.INFORMACTIVATIONTIME,
V.FORMTYPE, V.HISTORICALORDER,V.USERID,V.PFTIMESTAMP,V.TRANSACTIONID,
V.REASON,V.ACTION, V.STATEHIST, V.ORIGINALSTATE, V.STARTEDSTATE,
V.FMINSTARTEDSTATE, V.FMAXSTARTEDSTATE, V.SDVREADYSTATE,
V.FMINSDVREADYSTATE, V.FMAXSDVREADYSTATE, V.SDVPARTIALSTATE,
V.FMINSDVPARTIALSTATE, V.FMAXSDVPARTIALSTATE, V.SDVCOMPLETESTATE,
V.FMINSDVCOMPLETESTATE, V.FMAXSDVCOMPLETESTATE, V.SDVSELECTEDSTATE,
V.FMINSDVSELECTEDSTATE, V.FMAXSDVSELECTEDSTATE, V.LOCKEDSTATE,
V.FMINLOCKEDSTATE, V.FMAXLOCKEDSTATE, V.FROZENSTATE, V.FMINFROZENSTATE,
V.FMAXFROZENSTATE, V.SIGNEDSTATE, V.FMINSIGNEDSTATE, V.FMAXSIGNEDSTATE,
V.COMPLETESTATE, V.FMINCOMPLETESTATE, V.FMAXCOMPLETESTATE,
V.HASQUERIESSTATE, V.FMINHASQUERIESSTATE, V.FMAXHASQUERIESSTATE,
V.HASCOMMENTSSTATE, V.FMINHASCOMMENTSSTATE, V.FMAXHASCOMMENTSSTATE,
V.HASDATASTATE, V.FMINHASDATASTATE, V.FMAXHASDATASTATE, V.MISSINGITEMSSTATE,
V.FMINMISSINGITEMSSTATE, V.FMAXMISSINGITEMSSTATE, V.NOTDONESTATE,
V.FMINNOTDONESTATE, V.FMAXNOTDONESTATE, V.DELETEDSTATE, V.FMINDELETEDSTATE,
V.FMAXDELETEDSTATE, V.DELETEDDYNAMICFORMSTATE,
V.FMINDELETEDDYNAMICFORMSTATE, V.FMAXDELETEDDYNAMICFORMSTATE, V.BOOKSIGN,
V.FMINBOOKSIGN, V.FMAXBOOKSIGN, V.INFORMPARTIALURL_CRFVIEW, V.DATECHANGED,
V.COUNTOPENQUERIES, V.COUNTANSWEREDQUERIES, V.COUNTCANDIDATEQUERIES,
V.COUNTCLOSEDQUERIES, V.ITEMSMARKEDINCOMPLETE, V.REVIEWSTATE1,
V.REVIEWSTATE1DATECHANGED, V.REVIEWSTATE2, V.REVIEWSTATE2DATECHANGED,
V.REVIEWSTATE3, V.REVIEWSTATE3DATECHANGED, V.REVIEWSTATE4,
V.REVIEWSTATE4DATECHANGED, V.REVIEWSTATE5, V.REVIEWSTATE5DATECHANGED,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.30
0.32
15
26
6
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.31
0.32
15
26
8
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max)
---------- ---------- -------------0
0
0
me=18173 us)
1
1
1
1
1
1
995 us cost=27 size=2677 card=1)
1
1
1
24 size=2256 card=1)
1
1
1
15818 us cost=24 size=581 card=1)
1
1
1
us cost=23 size=553 card=1)

Row Source Operation


---------------------------------------------MERGE RT_ACTIVATED_FORMS (cr=26 pr=15 pw=0 ti
VIEW (cr=26 pr=15 pw=0 time=18003 us)
NESTED LOOPS OUTER (cr=26 pr=15 pw=0 time=17
VIEW (cr=22 pr=12 pw=0 time=15842 us cost=
NESTED LOOPS OUTER (cr=22 pr=12 pw=0 time=
NESTED LOOPS (cr=19 pr=9 pw=0 time=3011

1
1
1
NESTED LOOPS (cr=17 pr=9 pw=0 time=3003
us cost=22 size=534 card=1)
1
1
1
NESTED LOOPS OUTER (cr=13 pr=9 pw=0 tim
e=2974 us cost=20 size=220 card=1)
1
1
1
NESTED LOOPS (cr=11 pr=7 pw=0 time=28
01 us cost=12 size=104 card=1)
1
1
1
NESTED LOOPS (cr=7 pr=5 pw=0 time=18
29 us cost=6 size=134 card=2)
1
1
1
SORT UNIQUE (cr=3 pr=1 pw=0 time=224
us cost=3 size=46 card=2)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID
2 (cr=3 pr=1 pw=0 time=208 us cost=3 size=46 card=2)(object id 22587)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_SUBJE
CTVISIT (cr=4 pr=4 pw=0 time=1604 us cost=2 size=44 card=1)
1
1
1
INDEX RANGE SCAN IRI_SUBJECTVISIT_0
1 (cr=3 pr=3 pw=0 time=1478 us cost=1 size=0 card=1)(object id 22574)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJEC
TVECHAPTERPAGE (cr=4 pr=2 pw=0 time=972 us cost=3 size=37 card=1)
1
1
1
INDEX RANGE SCAN XPKPF_SUBJECTVECHAP
TERPAGE (cr=3 pr=1 pw=0 time=892 us cost=2 size=0 card=1)(object id 20978)
0
0
0
VIEW PUSHED PREDICATE RV_CRF_REVIEWST
ATES (cr=2 pr=2 pw=0 time=172 us cost=8 size=116 card=1)
0
0
0
SORT GROUP BY (cr=2 pr=2 pw=0 time=17
1 us cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=2 pw=0 time=1
62 us cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=2 pw=0 time=
162 us cost=8 size=94 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=2 pw=0 time
=162 us cost=6 size=69 card=1)
0
0
0
VIEW VW_SQ_2 (cr=2 pr=2 pw=0 tim
e=159 us cost=4 size=31 card=1)
0
0
0
SORT GROUP BY (cr=2 pr=2 pw=0 ti
me=158 us cost=4 size=28 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_
REVIEWSTATEHISTORY (cr=2 pr=2 pw=0 time=154 us cost=3 size=28 card=1)
0
0
0
INDEX RANGE SCAN XIF_SVECP_REV
IEWSTATEHISTORY (cr=2 pr=2 pw=0 time=153 us cost=2 size=0 card=1)(object id 2105
7)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_RE
VIEWSTATEHISTORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=38 card=1)
0
0
0
INDEX RANGE SCAN XIF_SVECP_REVIE
WSTATEHISTORY (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 21057)
0
0
0
INDEX UNIQUE SCAN XPKPF_REVISIONHI
STORY (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20939)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVI
SIONHISTORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=25 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORMHIST
ORY_SUMMARY (cr=4 pr=0 pw=0 time=26 us cost=2 size=314 card=1)
1
1
1
INDEX UNIQUE SCAN PK_FORMHISTORY_SUMMA
RY (cr=3 pr=0 pw=0 time=16 us cost=1 size=0 card=1)(object id 22591)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORM_REVS
(cr=2 pr=0 pw=0 time=6 us cost=1 size=19 card=1)
1
1
1
INDEX UNIQUE SCAN RT_FORM_REVS_PK (cr=1
pr=0 pw=0 time=3 us cost=0 size=0 card=1)(object id 22624)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_QUERY_SUMM
ARY (cr=3 pr=3 pw=0 time=12805 us cost=1 size=28 card=1)
1
1
1
INDEX UNIQUE SCAN RT_QUERY_SUMMARY_PK (c
r=2 pr=2 pw=0 time=553 us cost=0 size=0 card=1)(object id 22583)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ACTIVATED_FO

RMS (cr=4 pr=3 pw=0 time=2149 us cost=3 size=421 card=1)


1
1
1
INDEX RANGE SCAN IRI_ACTIVATED_FORMS_01 (c
r=3 pr=3 pw=0 time=2133 us cost=2 size=0 card=1)(object id 22594)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
15
0.01
0.01
********************************************************************************
SQL ID: c7m1brrwuz31x Plan Hash: 2490025262
MERGE INTO RT_QUERY t USING (SELECT * FROM RV_QUERY WHERE QUERYID=:1) v ON
(t.QUERYID = v.QUERYID) WHEN MATCHED THEN UPDATE SET t.QUERYREV=v.QUERYREV,
t.QREVS=v.QREVS,t.MINQUERYREV=v.MINQUERYREV,t.MAXQUERYREV=v.MAXQUERYREV,
t.QUERYTIME=v.QUERYTIME,t.QUERYUSERID=v.QUERYUSERID,t.QUERYHIST=v.QUERYHIST,
t.SITEID=v.SITEID,t.QUERYTRANSID=v.QUERYTRANSID, t.QUERYTYPE=v.QUERYTYPE,
t.QTYPEAUTO=v.QTYPEAUTO,t.QTYPEMANUAL=v.QTYPEMANUAL,t.QTYPECONFLICT=
v.QTYPECONFLICT,t.QUERYSTATE=v.QUERYSTATE, t.QREISSUED=v.QREISSUED,
t.QCANDIDATE=v.QCANDIDATE,t.QOPENED=v.QOPENED,t.QANSWERED=v.QANSWERED,
t.QCLOSED=v.QCLOSED,t.QDELETED=v.QDELETED, t.QUERYGROUP=v.QUERYGROUP,
t.QUERYDATA=v.QUERYDATA,t.RULEITEMID=v.RULEITEMID,t.RULEID=v.RULEID,
t.CONFLICTSTATE=v.CONFLICTSTATE, t.QMINREISSUED=v.QMINREISSUED,
t.QMAXREISSUED=v.QMAXREISSUED,t.QMINREISSUEDREV=v.QMINREISSUEDREV,
t.QMAXREISSUEDREV=v.QMAXREISSUEDREV,t.QCOUNTREISSUED=v.QCOUNTREISSUED,
t.QMINCANDIDATE=v.QMINCANDIDATE,t.QMAXCANDIDATE=v.QMAXCANDIDATE,
t.QMINCANDIDATEREV=v.QMINCANDIDATEREV,t.QMAXCANDIDATEREV=v.QMAXCANDIDATEREV,
t.QCOUNTCANDIDATE=v.QCOUNTCANDIDATE, t.QMINOPENED=v.QMINOPENED,t.QMAXOPENED=
v.QMAXOPENED,t.QMINOPENEDREV=v.QMINOPENEDREV,t.QMAXOPENEDREV=
v.QMAXOPENEDREV,t.QCOUNTOPENED=v.QCOUNTOPENED, t.QMINANSWERED=
v.QMINANSWERED,t.QMAXANSWERED=v.QMAXANSWERED,t.QMINANSWEREDREV=
v.QMINANSWEREDREV, t.QMAXANSWEREDREV=v.QMAXANSWEREDREV,t.QCOUNTANSWERED=
v.QCOUNTANSWERED, t.QMINCLOSED=v.QMINCLOSED,t.QMAXCLOSED=v.QMAXCLOSED,
t.QMINCLOSEDREV=v.QMINCLOSEDREV,t.QMAXCLOSEDREV=v.QMAXCLOSEDREV,
t.QCOUNTCLOSED=v.QCOUNTCLOSED, t.QMINDELETED=v.QMINDELETED,t.QMAXDELETED=
v.QMAXDELETED,t.QMINDELETEDREV=v.QMINDELETEDREV,t.QMAXDELETEDREV=
v.QMAXDELETEDREV,t.QCOUNTDELETED=v.QCOUNTDELETED,t.INFORMPARTIALURL_QUERY=
v.INFORMPARTIALURL_QUERY, t.MODIFIEDDATETIME =
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) as DATE), t.MODIFIEDBYUSERID=:2 WHEN NOT
MATCHED THEN INSERT(t.QUERYID,t.QUERYREV,t.QREVS,t.MINQUERYREV,
t.MAXQUERYREV, t.QUERYTIME,t.QUERYUSERID,t.QUERYHIST,t.CONTEXTID,
t.SUBJECTVISITID,t.SUBJECTID,t.SITEID, t.VISITID,t.VISITINDEX,t.FORMID,
t.FORMREV,t.FORMINDEX,t.SECTIONID, t.QUERYTRANSID,t.ITEMSETID,
t.ITEMSETINDEX,t.ITEMID, t.QUERYTYPE,t.QTYPEAUTO,t.QTYPEMANUAL,
t.QTYPECONFLICT,t.QUERYSTATE, t.QREISSUED,t.QCANDIDATE,t.QOPENED,
t.QANSWERED,t.QCLOSED,t.QDELETED, t.QUERYGROUP,t.QUERYDATA,t.RULEITEMID,
t.RULEID,t.CONFLICTSTATE, t.QMINREISSUED,t.QMAXREISSUED,t.QMINREISSUEDREV,
t.QMAXREISSUEDREV,t.QCOUNTREISSUED, t.QMINCANDIDATE,t.QMAXCANDIDATE,
t.QMINCANDIDATEREV,t.QMAXCANDIDATEREV,t.QCOUNTCANDIDATE, t.QMINOPENED,
t.QMAXOPENED,t.QMINOPENEDREV,t.QMAXOPENEDREV,t.QCOUNTOPENED, t.QMINANSWERED,
t.QMAXANSWERED,t.QMINANSWEREDREV,t.QMAXANSWEREDREV,t.QCOUNTANSWERED,
t.QMINCLOSED,t.QMAXCLOSED,t.QMINCLOSEDREV,t.QMAXCLOSEDREV,t.QCOUNTCLOSED,
t.QMINDELETED,t.QMAXDELETED,t.QMINDELETEDREV,t.QMAXDELETEDREV,
t.QCOUNTDELETED,t.INFORMPARTIALURL_QUERY, t.CREATEDDATETIME,
t.CREATEDBYUSERID,t.MODIFIEDDATETIME,t.MODIFIEDBYUSERID) VALUES (v.QUERYID,
v.QUERYREV,v.QREVS,v.MINQUERYREV,v.MAXQUERYREV, v.QUERYTIME,v.QUERYUSERID,
v.QUERYHIST,v.CONTEXTID,v.SUBJECTVISITID,v.SUBJECTID,v.SITEID, v.VISITID,
v.VISITINDEX,v.FORMID,v.FORMREV,v.FORMINDEX,v.SECTIONID, v.QUERYTRANSID,
v.ITEMSETID,v.ITEMSETINDEX,v.ITEMID, v.QUERYTYPE,v.QTYPEAUTO,v.QTYPEMANUAL,

v.QTYPECONFLICT,v.QUERYSTATE, v.QREISSUED,v.QCANDIDATE,v.QOPENED,
v.QANSWERED,v.QCLOSED,v.QDELETED, v.QUERYGROUP,v.QUERYDATA,v.RULEITEMID,
v.RULEID,v.CONFLICTSTATE, v.QMINREISSUED,v.QMAXREISSUED,v.QMINREISSUEDREV,
v.QMAXREISSUEDREV,v.QCOUNTREISSUED, v.QMINCANDIDATE,v.QMAXCANDIDATE,
v.QMINCANDIDATEREV,v.QMAXCANDIDATEREV,v.QCOUNTCANDIDATE, v.QMINOPENED,
v.QMAXOPENED,v.QMINOPENEDREV,v.QMAXOPENEDREV,v.QCOUNTOPENED, v.QMINANSWERED,
v.QMAXANSWERED,v.QMINANSWEREDREV,v.QMAXANSWEREDREV,v.QCOUNTANSWERED,
v.QMINCLOSED,v.QMAXCLOSED,v.QMINCLOSEDREV,v.QMAXCLOSEDREV,v.QCOUNTCLOSED,
v.QMINDELETED,v.QMAXDELETED,v.QMINDELETEDREV,v.QMAXDELETEDREV,
v.QCOUNTDELETED,v.INFORMPARTIALURL_QUERY, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
as DATE), :3, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) as DATE),:4)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.29
0.30
16
47
32
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.29
0.30
16
47
32
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 MERGE RT_QUERY (cr=46 pr=16 pw=0 time=22851 u
s)
1
1
1 VIEW (cr=46 pr=7 pw=0 time=1980 us)
1
1
1
NESTED LOOPS OUTER (cr=46 pr=7 pw=0 time=196
3 us cost=27 size=1171 card=1)
1
1
1
NESTED LOOPS (cr=41 pr=6 pw=0 time=1833 us
cost=23 size=1156 card=1)
1
1
1
MERGE JOIN OUTER (cr=38 pr=3 pw=0 time=156
4 us cost=22 size=1142 card=1)
1
1
1
NESTED LOOPS (cr=34 pr=0 pw=0 time=162 u
s cost=20 size=660 card=1)
1
1
1
NESTED LOOPS (cr=33 pr=0 pw=0 time=159
us cost=20 size=660 card=1)
1
1
1
NESTED LOOPS (cr=30 pr=0 pw=0 time=150
us cost=18 size=634 card=1)
1
1
1
NESTED LOOPS (cr=26 pr=0 pw=0 time=13
8 us cost=16 size=570 card=1)
1
1
1
NESTED LOOPS (cr=22 pr=0 pw=0 time=1
29 us cost=14 size=526 card=1)
1
1
1
NESTED LOOPS (cr=9 pr=0 pw=0 time=6
9 us cost=8 size=182 card=1)
1
1
1
VIEW RV_DIM_QUERIES (cr=5 pr=0 pw=
0 time=49 us cost=6 size=65 card=1)
1
1
1
SORT GROUP BY (cr=5 pr=0 pw=0 time
=48 us cost=6 size=19 card=1)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_QU
ERY (cr=5 pr=0 pw=0 time=26 us cost=6 size=38 card=2)
2
2
2
INDEX RANGE SCAN XPKPF_QUERY (cr
=3 pr=0 pw=0 time=16 us cost=3 size=0 card=2)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUER

Y (cr=4 pr=0 pw=0 time=17 us cost=2 size=117 card=1)


1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=
3 pr=0 pw=0 time=12 us cost=1 size=0 card=1)(object id 20928)
1
1
1
VIEW PUSHED PREDICATE RV_QUERY_TIME
S (cr=13 pr=0 pw=0 time=60 us cost=6 size=344 card=1)
1
1
1
SORT GROUP BY (cr=13 pr=0 pw=0 time
=57 us cost=6 size=48 card=1)
2
2
2
FILTER (cr=13 pr=0 pw=0 time=33 u
s)
2
2
2
NESTED LOOPS (cr=13 pr=0 pw=0 ti
me=31 us cost=6 size=48 card=1)
2
2
2
NESTED LOOPS (cr=11 pr=0 pw=0 t
ime=27 us cost=6 size=48 card=1)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_
REVISIONHISTORY (cr=5 pr=0 pw=0 time=15 us cost=4 size=25 card=1)
2
2
2
INDEX RANGE SCAN XPKPF_REVISIO
NHISTORY (cr=3 pr=0 pw=0 time=10 us cost=3 size=0 card=1)(object id 20939)
2
2
2
INDEX UNIQUE SCAN XPKPF_QUERY (
cr=6 pr=0 pw=0 time=10 us cost=1 size=0 card=1)(object id 20928)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_Q
UERY (cr=2 pr=0 pw=0 time=2 us cost=2 size=23 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_REVISI
ONHISTORY (cr=4 pr=0 pw=0 time=7 us cost=2 size=44 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_REVISIONHIST
ORY (cr=3 pr=0 pw=0 time=5 us cost=1 size=0 card=1)(object id 20939)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMCON
TEXT (cr=4 pr=0 pw=0 time=11 us cost=2 size=64 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (
cr=3 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 20881)
1
1
1
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHA
PTER_CUR (cr=3 pr=0 pw=0 time=7 us cost=1 size=0 card=1)(object id 22316)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVE
CHAPTER_CUR (cr=1 pr=0 pw=0 time=2 us cost=2 size=26 card=1)
1
1
1
BUFFER SORT (cr=4 pr=3 pw=0 time=1400 us
cost=20 size=482 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_QUERY (cr
=4 pr=3 pw=0 time=1381 us cost=2 size=482 card=1)
1
1
1
INDEX RANGE SCAN IRI_QUERY_02 (cr=2 pr=
2 pw=0 time=1258 us cost=1 size=0 card=1)(object id 22578)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_SUBJECT (cr
=3 pr=3 pw=0 time=266 us cost=1 size=14 card=1)
1
1
1
INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=2 pr=
2 pw=0 time=192 us cost=0 size=0 card=1)(object id 22570)
1
1
1
VIEW PUSHED PREDICATE (cr=5 pr=1 pw=0 time
=127 us cost=4 size=15 card=1)
1
1
1
SORT GROUP BY (cr=5 pr=1 pw=0 time=126 us
cost=4 size=37 card=1)
1
1
1
NESTED LOOPS (cr=5 pr=1 pw=0 time=112 us
cost=3 size=37 card=1)
1
1
1
NESTED LOOPS (cr=4 pr=0 pw=0 time=23 us
cost=3 size=37 card=1)
1
1
1
VIEW RV_DIM_RULEITEM (cr=2 pr=0 pw=0 t
ime=18 us cost=2 size=15 card=1)
1
1
1
SORT GROUP BY (cr=2 pr=0 pw=0 time=17
us cost=2 size=16 card=1)
1
1
1
INDEX RANGE SCAN XPKPF_RULEITEM (cr=2
pr=0 pw=0 time=8 us cost=2 size=16 card=1)(object id 20947)
1
1
1
INDEX UNIQUE SCAN XPKPF_RULEITEM (cr=2
pr=0 pw=0 time=3 us cost=0 size=0 card=1)(object id 20947)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_RULEITEM

(cr=1 pr=1 pw=0 time=88 us cost=1 size=22 card=1)


Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
16
0.01
0.01
SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: ghthcrjz9u0wf Plan Hash: 2405234185
INSERT INTO RT_QUERY_SUMMARY SELECT V.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_QUERY_SUMMARY V WHERE (SUBJECTVISITID, FORMID, FORMINDEX) IN (SELECT
SUBJECTVISITID, FORMID, FORMINDEX FROM RT_QUERY WHERE QUERYTRANSID=:B1 )

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.22
0.22
7
24149
10
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.22
0.22
7
24149
10
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=24149 pr=7 pw=0 t
ime=223002 us)
1
1
1 HASH GROUP BY (cr=24148 pr=3 pw=0 time=222704
us cost=8073 size=68 card=1)
11
11
11
NESTED LOOPS (cr=24148 pr=3 pw=0 time=22258
4 us cost=8072 size=68 card=1)
11
11
11
NESTED LOOPS (cr=24138 pr=3 pw=0 time=2225
01 us cost=8072 size=68 card=1)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time=22175
1 us cost=8068 size=24 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24135 pr=0
pw=0 time=221712 us cost=8068 size=24 card=1)
11
11
11
INDEX RANGE SCAN IRI_QUERY_05 (cr=3 pr=3 p
w=0 time=744 us cost=2 size=0 card=1)(object id 22581)
11
11
11
TABLE ACCESS BY INDEX ROWID RT_QUERY (cr=10
pr=0 pw=0 time=25 us cost=3 size=44 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
7
0.00
0.00
********************************************************************************

SQL ID: b97kw80dhw692 Plan Hash: 2512461600


INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B2 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), :B1 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B1 FROM
RV_ITEMDATA_CONTEXT_NOITEMDATA V WHERE CONTEXTID IN (SELECT CONTEXTID FROM
RT_QUERY WHERE QUERYTRANSID=:B2 )

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.22
0.22
0
24142
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.22
0.22
0
24142
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=24142 pr=0 pw=0 t
ime=208948 us)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=12 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=13 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 NESTED LOOPS (cr=24142 pr=0 pw=0 time=208936
us cost=8077 size=137 card=1)
0
0
0
NESTED LOOPS (cr=24142 pr=0 pw=0 time=20893
4 us cost=8077 size=137 card=1)
0
0
0
NESTED LOOPS (cr=24142 pr=0 pw=0 time=2089
33 us cost=8075 size=107 card=1)
0
0
0
NESTED LOOPS ANTI (cr=24142 pr=0 pw=0 time
=208933 us cost=8073 size=85 card=1)
1
1
1
NESTED LOOPS (cr=24139 pr=0 pw=0 time=20
8915 us cost=8071 size=78 card=1)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time=208
871 us cost=8068 size=14 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24135 pr
=0 pw=0 time=208834 us cost=8068 size=14 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTE
XT (cr=4 pr=0 pw=0 time=41 us cost=2 size=64 card=1)

1
1
1
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (cr
=3 pr=0 pw=0 time=23 us cost=1 size=0 card=1)(object id 20881)
1
1
1
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=3 p
r=0 pw=0 time=15 us cost=2 size=181818 card=25974)(object id 20893)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHAPT
ER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTERPAG
E (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAP
TERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=30 card=1)
********************************************************************************
SQL ID: 6f4x5mh2xxvzf Plan Hash: 3321409953
INSERT INTO RT_AF_SUMMARY SELECT AF.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS
DATE), :B1 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),:B1 FROM
RV_AF_SUMMARY AF WHERE (SITEID, VISITID) IN (SELECT DISTINCT SITEID,
VISITID FROM RT_QUERY WHERE QUERYTRANSID=:B2 )

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.21
0.21
0
25063
45
11
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.21
0.21
0
25063
45
11
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=25063 pr=0 pw=0 t
ime=210929 us)
11
11
11 HASH GROUP BY (cr=25062 pr=0 pw=0 time=210471
us cost=8311 size=330 card=3)
316
316
316
NESTED LOOPS (cr=25062 pr=0 pw=0 time=21065
1 us cost=8310 size=330 card=3)
316
316
316
NESTED LOOPS (cr=24764 pr=0 pw=0 time=2095
93 us cost=8310 size=330 card=159)
316
316
316
NESTED LOOPS (cr=24447 pr=0 pw=0 time=208
325 us cost=8152 size=14787 card=159)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time=2068
22 us cost=8068 size=18 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24135 pr=
0 pw=0 time=206780 us cost=8068 size=18 card=1)
316
316
316
TABLE ACCESS BY INDEX ROWID RT_ACTIVATED_
FORMS (cr=312 pr=0 pw=0 time=1300 us cost=83 size=10050 card=134)
316
316
316
INDEX RANGE SCAN IRI_ACTIVATED_FORMS_02
(cr=4 pr=0 pw=0 time=129 us cost=2 size=0 card=85)(object id 22595)
316
316
316
INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=317 pr

=0 pw=0 time=526 us cost=0 size=0 card=1)(object id 22570)


316
316
316
TABLE ACCESS BY INDEX ROWID RT_SUBJECT (cr=
298 pr=0 pw=0 time=438 us cost=1 size=17 card=1)
********************************************************************************
SQL ID: d5htkyum58q4n Plan Hash: 2296951702
DELETE FROM RT_ITEMDATA_CONTEXT
WHERE
CONTEXTID IN (SELECT CONTEXTID FROM RT_QUERY WHERE QUERYTRANSID=:B1 ) AND
(AUDITORDER=0 OR AUDITORDER IS NULL)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.21
0.21
4
24139
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.21
0.21
4
24139
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_ITEMDATA_CONTEXT (cr=24139 pr=4 pw=
0 time=209554 us)
0
0
0 NESTED LOOPS (cr=24139 pr=4 pw=0 time=209551
us cost=8071 size=85 card=1)
1
1
1
NESTED LOOPS (cr=24138 pr=3 pw=0 time=20947
5 us cost=8071 size=85 card=1)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time=207698
us cost=8068 size=14 card=1)
1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24135 pr=0
pw=0 time=207661 us cost=8068 size=14 card=1)
1
1
1
INDEX UNIQUE SCAN RT_ITEMDATA_CONTEXT_PK (c
r=3 pr=3 pw=0 time=1773 us cost=1 size=0 card=1)(object id 22410)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONT
EXT (cr=1 pr=1 pw=0 time=74 us cost=2 size=71 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
4
0.00
0.00
********************************************************************************
SQL ID: gjwrycbps9da8 Plan Hash: 541640864
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,

V.PREVIOUSAUDITORDER, :B3 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,


DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT V WHERE :B2 =:B1 AND (SUBJECTVISITID, FORMID, FORMINDEX)
IN (SELECT DISTINCT SV.SUBJECTCHAPTERID, IC.PAGEID, IC.PAGEINDEX FROM
PF_REVISIONHISTORY RH, PF_COMMENT C, PF_ITEMCONTEXT IC,
PF_SUBJECTVECHAPTER_CUR SV WHERE RH.TRANSACTIONID=:B3 AND RH.DBUID=
C.COMMENTID AND RH.REVISIONNUMBER=C.COMMENTREVISIONNUMBER AND C.CONTEXTID=
IC.CONTEXTID AND IC.SUBJECTKEYID=SV.SUBJECTKEYID AND IC.CHAPTERID=
SV.CHAPTERID AND IC.CHAPTERINDEX=SV.CHAPTERINDEX)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.20
0.20
0
0
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.20
0.20
0
0
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=0 pr=0 pw=0 time=
57 us)
0
0
0 VIEW VM_NWVW_2 (cr=0 pr=0 pw=0 time=50 us co
st=49 size=420 card=1)
0
0
0
HASH UNIQUE (cr=0 pr=0 pw=0 time=49 us cost=
49 size=278 card=1)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=2 us)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us co
st=45 size=278 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us c
ost=45 size=278 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=42 size=217 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=26 size=1400 card=8)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 u
s cost=17 size=333 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0
us cost=11 size=231 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0
us cost=5 size=138 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVI
SIONHISTORY (cr=0 pr=0 pw=0 time=0 us cost=4 size=72 card=3)
0
0
0
INDEX RANGE SCAN XIF705PF_REVISION
HISTORY (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 20940)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_COMM
ENT (cr=0 pr=0 pw=0 time=0 us cost=1 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_COMMENT (c
r=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20826)

0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMC
ONTEXT (cr=0 pr=0 pw=0 time=0 us cost=2 size=31 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT
(cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20881)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJEC
TVECHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=34 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVE
CHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCON
TEXT (cr=0 pr=0 pw=0 time=0 us cost=3 size=192 card=3)
0
0
0
INDEX RANGE SCAN XIE2PF_ITEMCONTEXT (
cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20885)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTV
ECHAPTERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=42 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPT
ERPAGE (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
INDEX RANGE SCAN XPKPF_ITEMDATA (cr=0 pr
=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20892)
0
0
0
SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 u
s)
0
0
0
FIRST ROW (cr=0 pr=0 pw=0 time=0 us c
ost=3 size=19 card=1)
0
0
0
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITEM
DATA (cr=0 pr=0 pw=0 time=0 us cost=3 size=19 card=1)(object id 20892)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA (
cr=0 pr=0 pw=0 time=0 us cost=3 size=61 card=1)
********************************************************************************
SQL ID: 6zdwkat6ag3wj Plan Hash: 2270066363
DELETE FROM RT_AF_SUMMARY T
WHERE
(SITEID, VISITID) IN (SELECT DISTINCT SITEID, VISITID FROM RT_QUERY WHERE
QUERYTRANSID=:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.20
0.20
0
24137
31
11
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.20
0.20
0
24137
31
11
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_AF_SUMMARY (cr=24137 pr=0 pw=0 time
=206438 us)
11
11
11 NESTED LOOPS (cr=24137 pr=0 pw=0 time=206024
us cost=8070 size=237 card=3)
1
1
1
SORT UNIQUE (cr=24135 pr=0 pw=0 time=205998
us cost=8068 size=18 card=1)

1
1
1
TABLE ACCESS FULL RT_QUERY (cr=24135 pr=0 p
w=0 time=205960 us cost=8068 size=18 card=1)
11
11
11
INDEX RANGE SCAN IX_RT_AF_SUMMARY_02 (cr=2 p
r=0 pw=0 time=33 us cost=1 size=183 card=3)(object id 22601)
********************************************************************************
SQL ID: bz0j53dj48507 Plan Hash: 1374395696
DELETE FROM RT_CONTEXT_STATE
WHERE
CONTEXTID IN (SELECT CONTEXTID FROM RV_CONTEXT_STATE RV WHERE TRANSACTIONID=
:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.03
0.18
5
10
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.03
0.19
5
10
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_CONTEXT_STATE (cr=10 pr=5 pw=0 time
=786 us)
0
0
0 NESTED LOOPS (cr=10 pr=5 pw=0 time=784 us co
st=16 size=25 card=1)
0
0
0
VIEW VW_NSO_2 (cr=10 pr=5 pw=0 time=782 us
cost=14 size=13 card=1)
0
0
0
SORT UNIQUE (cr=10 pr=5 pw=0 time=782 us co
st=14 size=80 card=1)
0
0
0
FILTER (cr=10 pr=5 pw=0 time=779 us)
0
0
0
SORT GROUP BY (cr=10 pr=5 pw=0 time=779 u
s cost=14 size=80 card=1)
0
0
0
NESTED LOOPS (cr=10 pr=5 pw=0 time=774
us cost=13 size=240 card=3)
0
0
0
NESTED LOOPS (cr=10 pr=5 pw=0 time=774
us cost=7 size=192 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIO
NHISTORY (cr=4 pr=1 pw=0 time=179 us cost=4 size=108 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHIS
TORY (cr=3 pr=1 pw=0 time=172 us cost=3 size=0 card=3)(object id 20940)
0
0
0
INDEX UNIQUE SCAN XPKPF_CONTEXTSTATEHI
STORY (cr=6 pr=4 pw=0 time=593 us cost=1 size=28 card=1)(object id 20830)
0
0
0
INDEX RANGE SCAN XPKPF_CONTEXTSTATEHIST
ORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=16 card=1)(object id 20830)
0
0
0
INDEX UNIQUE SCAN RT_CONTEXT_STATE_PK (cr=0
pr=0 pw=0 time=0 us cost=1 size=12 card=1)(object id 22641)
Elapsed times include waiting on following events:

Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
5
0.00
0.00
********************************************************************************
SQL ID: bgvvazsw9s325 Plan Hash: 2576886346
DELETE FROM RT_FORMDATA
WHERE
CONTEXTID IN (SELECT CONTEXTID FROM RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=
:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.01
0.14
21
6
30
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.14
21
6
30
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_FORMDATA (cr=6 pr=21 pw=0 time=1390
20 us)
1
1
1 NESTED LOOPS (cr=6 pr=5 pw=0 time=9334 us co
st=9 size=560 card=7)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr=3
pr=2 pw=0 time=284 us cost=3 size=70 card=5)(object id 22407)
1
1
1
INDEX RANGE SCAN IX_RT_FORMDATA_4 (cr=3 pr=3
pw=0 time=9045 us cost=2 size=66 card=1)(object id 22749)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
21
0.02
0.13
********************************************************************************
SQL ID: bwgyhqfmm1ufn Plan Hash: 1482320051
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B1 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT V WHERE CONTEXTID IN (SELECT DBUID FROM
PF_REVISIONHISTORY WHERE TRANSACTIONID=:B1 UNION ALL SELECT CONTEXTID FROM
PF_REVISIONHISTORY RH, PF_QUERY Q WHERE RH.TRANSACTIONID=:B1 AND RH.DBUID=

Q.QUERYID AND RH.REVISIONNUMBER=Q.QUERYREVISIONNUMBER)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.14
0.14
2
24
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.14
0.14
2
24
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=24 pr=2 pw=0 time
=679 us)
0
0
0 NESTED LOOPS (cr=24 pr=2 pw=0 time=661 us co
st=46 size=185 card=1)
0
0
0
NESTED LOOPS (cr=24 pr=2 pw=0 time=660 us c
ost=46 size=185 card=1)
0
0
0
NESTED LOOPS (cr=24 pr=2 pw=0 time=659 us
cost=44 size=155 card=1)
0
0
0
NESTED LOOPS (cr=24 pr=2 pw=0 time=658 us
cost=42 size=133 card=1)
0
0
0
NESTED LOOPS (cr=24 pr=2 pw=0 time=657 u
s cost=24 size=462 card=6)
3
3
3
VIEW VW_NSO_1 (cr=15 pr=0 pw=0 time=91
us cost=12 size=78 card=6)
3
3
3
SORT UNIQUE (cr=15 pr=0 pw=0 time=91 us
cost=12 size=186 card=6)
3
3
3
UNION-ALL (cr=15 pr=0 pw=0 time=29 us
)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISI
ONHISTORY (cr=4 pr=0 pw=0 time=27 us cost=4 size=42 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHI
STORY (cr=3 pr=0 pw=0 time=22 us cost=3 size=0 card=3)(object id 20940)
1
1
1
NESTED LOOPS (cr=11 pr=0 pw=0 time=4
0 us cost=8 size=144 card=3)
1
1
1
NESTED LOOPS (cr=10 pr=0 pw=0 time=
33 us cost=8 size=144 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVI
SIONHISTORY (cr=4 pr=0 pw=0 time=10 us cost=4 size=72 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISION
HISTORY (cr=3 pr=0 pw=0 time=8 us cost=3 size=0 card=3)(object id 20940)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=6
pr=0 pw=0 time=22 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY
(cr=1 pr=0 pw=0 time=6 us cost=2 size=24 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTE
XT (cr=9 pr=2 pw=0 time=564 us cost=2 size=64 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (cr
=8 pr=2 pw=0 time=558 us cost=1 size=0 card=1)(object id 20881)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA (

cr=0 pr=0 pw=0 time=0 us cost=3 size=56 card=1)


0
0
0
INDEX RANGE SCAN XPKPF_ITEMDATA (cr=0 pr
=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20892)
0
0
0
SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 u
s)
0
0
0
FIRST ROW (cr=0 pr=0 pw=0 time=0 us c
ost=3 size=19 card=1)
0
0
0
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITEM
DATA (cr=0 pr=0 pw=0 time=0 us cost=3 size=19 card=1)(object id 20892)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHAPT
ER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTERPAG
E (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAP
TERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=30 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SELECT *
FROM DCV_EnrolledPatient
WHERE DCV_EnrolledPatient.PatientID=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.12
0.12
0
0
0
0
Fetch
2
0.00
0.00
0
4
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
6
0.12
0.12
0
4
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 FILTER (cr=2 pr=0 pw=0 time=24 us)
0
0
0 NESTED LOOPS (cr=2 pr=0 pw=0 time=22 us cost
=18 size=166 card=1)
0
0
0
MERGE JOIN CARTESIAN (cr=2 pr=0 pw=0 time=22
us cost=13 size=153 card=1)
0
0
0
MERGE JOIN CARTESIAN (cr=2 pr=0 pw=0 time=2
0 us cost=9 size=107 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=18 us c
ost=5 size=84 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=18 us
cost=5 size=84 card=1)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=18 us
cost=4 size=39 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_BOOKSTAT
E (cr=2 pr=0 pw=0 time=18 us cost=2 size=13 card=1)

0
0
0
INDEX UNIQUE SCAN XPKPF_BOOKSTATE (cr=
2 pr=0 pw=0 time=14 us cost=1 size=0 card=1)(object id 20815)
0
0
0
VIEW VW_SQ_4 (cr=0 pr=0 pw=0 time=0 us
cost=2 size=26 card=1)
0
0
0
SORT GROUP BY (cr=0 pr=0 pw=0 time=0 u
s cost=2 size=17 card=1)
0
0
0
INDEX RANGE SCAN XPKPF_PATIENT (cr=0
pr=0 pw=0 time=0 us cost=2 size=34 card=2)(object id 20921)
0
0
0
INDEX UNIQUE SCAN XPKPF_PATIENT (cr=0 pr
=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20921)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_PATIENT (c
r=0 pr=0 pw=0 time=0 us cost=1 size=45 card=1)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 time=0 us cost
=8 size=69 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_PATIENTNUM
BER (cr=0 pr=0 pw=0 time=0 us cost=4 size=69 card=3)
0
0
0
INDEX RANGE SCAN XIF17PF_PATIENTNUMBER (
cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=3)(object id 20926)
0
0
0
BUFFER SORT (cr=0 pr=0 pw=0 time=0 us cost=
9 size=138 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_PATIENTNUMB
ER (cr=0 pr=0 pw=0 time=0 us cost=4 size=138 card=3)
0
0
0
INDEX RANGE SCAN XIF17PF_PATIENTNUMBER (c
r=0 pr=0 pw=0 time=0 us cost=1 size=0 card=3)(object id 20926)
0
0
0
VIEW PUSHED PREDICATE VW_SQ_3 (cr=0 pr=0 pw
=0 time=0 us cost=5 size=13 card=1)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=0 us)
0
0
0
SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 us)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=0 us)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_PATIENTNU
MBER (cr=0 pr=0 pw=0 time=0 us cost=5 size=51 card=3)
0
0
0
INDEX RANGE SCAN XIF17PF_PATIENTNUMBER
(cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=3)(object id 20926)
0
0
0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=
3 size=51 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SEQUENCESET (
cr=0 pr=0 pw=0 time=0 us cost=2 size=11 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (cr=0 p
r=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20958)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ENTITYMAPPING
(cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING (cr=0
pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20858)
0
0
0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us cost=
3 size=51 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SEQUENCESET (
cr=0 pr=0 pw=0 time=0 us cost=2 size=11 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (cr=0 p
r=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20958)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ENTITYMAPPING
(cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING (cr=0
pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20858)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.01

********************************************************************************
SELECT * FROM DCV_ClinicalData
WHERE (KeyID = :1 AND FormsetID = :2 AND FormID = :3 AND SectionID = :4 AND ((I
temID = :5 AND SetItemOrder = :6) OR (ItemSetID = :7) ) AND (AuditOrder = (SELEC
T MAX(AuditOrder) FROM PF_ItemData A WHERE A.ContextID = DCV_ClinicalData.Contex
tID)) AND FormsetIndex = :8 AND PageIndex = :9) ORDER BY EnteredDate DESC, KeyID
, FormsetID, FormID, SectionID, ItemID, ControlValueID, ValueOrder
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.07
0.07
0
0
0
0
Fetch
26
0.00
0.02
3
1012
0
158
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
30
0.09
0.10
3
1012
0
158
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------79
79
79 SORT ORDER BY (cr=506 pr=2 pw=0 time=12506 us
cost=10 size=161 card=1)
79
79
79 NESTED LOOPS (cr=506 pr=2 pw=0 time=15272 us
cost=9 size=161 card=1)
79
79
79
NESTED LOOPS (cr=469 pr=2 pw=0 time=14738 u
s cost=9 size=161 card=1)
66
66
66
NESTED LOOPS (cr=353 pr=2 pw=0 time=13238
us cost=6 size=104 card=1)
66
66
66
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEXT
(cr=49 pr=2 pw=0 time=10662 us cost=4 size=64 card=1)
75
75
75
INDEX RANGE SCAN XIE4PF_ITEMCONTEXT (cr=3
pr=2 pw=0 time=10075 us cost=3 size=0 card=1)(object id 20887)
66
66
66
TABLE ACCESS BY INDEX ROWID PF_ITEMDATA (c
r=304 pr=0 pw=0 time=1244 us cost=2 size=40 card=1)
66
66
66
INDEX UNIQUE SCAN XPKPF_ITEMDATA (cr=238
pr=0 pw=0 time=946 us cost=1 size=0 card=1)(object id 20892)
66
66
66
SORT AGGREGATE (cr=116 pr=0 pw=0 time=60
9 us)
66
66
66
FIRST ROW (cr=116 pr=0 pw=0 time=445 u
s cost=3 size=17 card=1)
66
66
66
INDEX RANGE SCAN (MIN/MAX) XPKPF_ITEMD
ATA (cr=116 pr=0 pw=0 time=388 us cost=3 size=17 card=1)(object id 20892)
79
79
79
INDEX RANGE SCAN XIF16PF_CONTROLDATA (cr=11
6 pr=0 pw=0 time=404 us cost=2 size=0 card=1)(object id 20835)
79
79
79
TABLE ACCESS BY INDEX ROWID PF_CONTROLDATA (
cr=37 pr=0 pw=0 time=208 us cost=3 size=57 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
26
0.00
0.00
db file sequential read
3
0.00
0.01
Disk file operations I/O
1
0.00
0.00
SQL*Net message from client
26
0.01
0.04

********************************************************************************
SQL ID: 3anra6au9jya8 Plan Hash: 1509553208
DELETE FROM RT_CONTROLDATA
WHERE
CONTEXTID IN (SELECT CONTEXTID FROM RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=
:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.01
0.10
25
6
34
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.10
25
6
36
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_CONTROLDATA (cr=6 pr=25 pw=0 time=1
07355 us)
1
1
1 NESTED LOOPS (cr=6 pr=3 pw=0 time=1345 us co
st=9 size=602 card=7)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr=3
pr=0 pw=0 time=10 us cost=3 size=70 card=5)(object id 22407)
1
1
1
INDEX RANGE SCAN IX_CONTROLDATA_03 (cr=3 pr=
3 pw=0 time=1333 us cost=2 size=72 card=1)(object id 22547)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
25
0.01
0.09
********************************************************************************
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,
UserName, SourceMachine, SourceMachineID
FROM DCV_NotConflictedQuery X
WHERE ( QueryRevisionNumber = (SELECT MAX(QueryRevisionNumber) from PF_Query WH
ERE ContextID=:1 AND QueryID=X.QueryID and ConflictState NOT LIKE 'LINK:%' ) ) U
NION
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,
UserName, SourceMachine, SourceMachineID
FROM DCV_ConflictedQuery X WHERE ( QueryRevisionNumber = (SELECT MAX(QueryRevisi
onNumber) from PF_Query WHERE ContextID=:2 AND QueryID=X.QueryID and ConflictSta
te NOT LIKE 'LINK:%' ) ) ORDER BY QueryID, QueryRevisionNumber
call

count

cpu

elapsed

disk

query

current

rows

------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse


4
0.00
0.00
0
0
0
0
Execute
4
0.10
0.10
0
0
0
0
Fetch
8
0.00
0.00
0
100
0
4
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
16
0.10
0.10
0
100
0
4
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT UNIQUE (cr=25 pr=0 pw=0 time=327 us cost=
37 size=635 card=3)
1
1
1 UNION-ALL (cr=25 pr=0 pw=0 time=311 us)
1
1
1
NESTED LOOPS (cr=21 pr=0 pw=0 time=223 us c
ost=26 size=492 card=2)
1
1
1
NESTED LOOPS (cr=20 pr=0 pw=0 time=216 us
cost=26 size=492 card=2)
1
1
1
NESTED LOOPS (cr=19 pr=0 pw=0 time=210 us
cost=24 size=452 card=2)
1
1
1
NESTED LOOPS (cr=15 pr=0 pw=0 time=187 u
s cost=20 size=430 card=2)
1
1
1
NESTED LOOPS (cr=12 pr=0 pw=0 time=179
us cost=17 size=597 card=3)
1
1
1
NESTED LOOPS (cr=8 pr=0 pw=0 time=164
us cost=11 size=429 card=3)
1
1
1
VIEW VW_SQ_1 (cr=4 pr=0 pw=0 time=142
us cost=7 size=78 card=3)
1
1
1
HASH GROUP BY (cr=4 pr=0 pw=0 time=14
2 us cost=7 size=123 card=3)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY
(cr=4 pr=0 pw=0 time=32 us cost=6 size=123 card=3)
1
1
1
INDEX RANGE SCAN XIF236PF_QUERY (cr
=3 pr=0 pw=0 time=23 us cost=3 size=0 card=3)(object id 20929)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (
cr=4 pr=0 pw=0 time=19 us cost=2 size=117 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=3 p
r=0 pw=0 time=15 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_REVISION
HISTORY (cr=4 pr=0 pw=0 time=15 us cost=2 size=56 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_REVISIONHISTOR
Y (cr=3 pr=0 pw=0 time=10 us cost=1 size=0 card=1)(object id 20939)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_USER (cr=
3 pr=0 pw=0 time=7 us cost=1 size=16 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_USER (cr=2 pr=0
pw=0 time=5 us cost=0 size=0 card=1)(object id 21024)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_TRANSACTIO
NHISTORY (cr=4 pr=0 pw=0 time=22 us cost=2 size=11 card=1)
1
1
1
INDEX UNIQUE SCAN XAK4PF_TRANSACTIONHIST
ORY (cr=3 pr=0 pw=0 time=11 us cost=1 size=0 card=1)(object id 21061)
1
1
1
INDEX UNIQUE SCAN XPKPF_MACHINENAMES (cr=1
pr=0 pw=0 time=4 us cost=0 size=0 card=1)(object id 20901)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_MACHINENAMES
(cr=1 pr=0 pw=0 time=5 us cost=1 size=20 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=81 us cos
t=9 size=143 card=1)

0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=80 us co
st=9 size=143 card=1)
0
0
0
VIEW VW_SQ_2 (cr=4 pr=0 pw=0 time=80 us c
ost=7 size=26 card=1)
0
0
0
FILTER (cr=4 pr=0 pw=0 time=78 us)
1
1
1
HASH GROUP BY (cr=4 pr=0 pw=0 time=77 us
cost=7 size=41 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (c
r=4 pr=0 pw=0 time=12 us cost=6 size=123 card=3)
1
1
1
INDEX RANGE SCAN XIF236PF_QUERY (cr=3
pr=0 pw=0 time=8 us cost=3 size=0 card=3)(object id 20929)
0
0
0
INDEX UNIQUE SCAN XPKPF_QUERY (cr=0 pr=0 p
w=0 time=0 us cost=1 size=0 card=1)(object id 20928)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=0
pr=0 pw=0 time=0 us cost=2 size=117 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
8
0.00
0.00
SQL*Net message from client
8
0.00
0.00
********************************************************************************
SQL ID: 3nkd3g3ju5ph1 Plan Hash: 2853959010
select obj#,type#,ctime,mtime,stime, status, dataobj#, flags, oid$, spare1,
spare2
from
obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null
and linkname is null and subname is null
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.09
0
0
0
0
Fetch
8
0.00
0.00
1
24
0
8
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.01
0.09
1
24
0
8
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=1 pw
=0 time=5625 us cost=3 size=78 card=1)
1
1
1 INDEX RANGE SCAN I_OBJ2 (cr=2 pr=0 pw=0 time=
51 us cost=2 size=0 card=1)(object id 37)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------Disk file operations I/O
1
0.00
0.00

db file sequential read


1
0.00
0.00
********************************************************************************
SQL ID: 8qyc1rvzmg15y Plan Hash: 1839731178
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B3 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_NOITEMDATA V WHERE :B2 =:B1 AND (SUBJECTVISITID, FORMID,
FORMINDEX) IN (SELECT DISTINCT SV.SUBJECTCHAPTERID, IC.PAGEID,
IC.PAGEINDEX FROM PF_REVISIONHISTORY RH, PF_COMMENT C, PF_ITEMCONTEXT IC,
PF_SUBJECTVECHAPTER_CUR SV WHERE RH.TRANSACTIONID=:B3 AND RH.DBUID=
C.COMMENTID AND RH.REVISIONNUMBER=C.COMMENTREVISIONNUMBER AND C.CONTEXTID=
IC.CONTEXTID AND IC.SUBJECTKEYID=SV.SUBJECTKEYID AND IC.CHAPTERID=
SV.CHAPTERID AND IC.CHAPTERINDEX=SV.CHAPTERINDEX)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.08
0.08
0
0
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.08
0.08
0
0
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=0 pr=0 pw=0 time=
50 us)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=12 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=13 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 VIEW VM_NWVW_2 (cr=0 pr=0 pw=0 time=43 us co
st=62 size=221 card=1)
0
0
0
HASH UNIQUE (cr=0 pr=0 pw=0 time=43 us cost=
62 size=224 card=1)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=1 us)
0
0
0
NESTED LOOPS ANTI (cr=0 pr=0 pw=0 time=0 u
s cost=61 size=224 card=1)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us c
ost=59 size=217 card=1)

0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=32 size=1377 card=9)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=17 size=333 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 u
s cost=11 size=231 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0
us cost=5 size=138 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVIS
IONHISTORY (cr=0 pr=0 pw=0 time=0 us cost=4 size=72 card=3)
0
0
0
INDEX RANGE SCAN XIF705PF_REVISIONH
ISTORY (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 20940)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_COMME
NT (cr=0 pr=0 pw=0 time=0 us cost=1 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_COMMENT (cr
=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20826)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCO
NTEXT (cr=0 pr=0 pw=0 time=0 us cost=2 size=31 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT
(cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20881)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECT
VECHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=34 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVEC
HAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTV
ECHAPTERPAGE (cr=0 pr=0 pw=0 time=0 us cost=5 size=126 card=3)
0
0
0
INDEX RANGE SCAN XPKPF_SUBJECTVECHAPTE
RPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=3)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=3 size=64 card=1)
0
0
0
INDEX RANGE SCAN XIE2PF_ITEMCONTEXT (cr
=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 20885)
0
0
0
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=0 p
r=0 pw=0 time=0 us cost=2 size=7 card=1)(object id 20893)
********************************************************************************
SQL ID: 34y2j4p0mxs4f Plan Hash: 1293896682
DELETE FROM RT_ITEMDATA_CONTEXT
WHERE
CONTEXTID IN (SELECT DBUID FROM PF_REVISIONHISTORY WHERE TRANSACTIONID=:B1
UNION ALL SELECT CONTEXTID FROM PF_REVISIONHISTORY RH, PF_QUERY Q WHERE
RH.TRANSACTIONID=:B1 AND RH.DBUID=Q.QUERYID AND RH.REVISIONNUMBER=
Q.QUERYREVISIONNUMBER)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.01
0.08
19
23
22
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.08
19
23
24
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1

Rows (1st) Rows (avg) Rows (max) Row Source Operation


---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_ITEMDATA_CONTEXT (cr=23 pr=19 pw=0
time=77867 us)
1
1
1 NESTED LOOPS (cr=23 pr=6 pw=0 time=10122 us
cost=18 size=444 card=6)
3
3
3
VIEW VW_NSO_1 (cr=15 pr=1 pw=0 time=173 us
cost=12 size=78 card=6)
3
3
3
SORT UNIQUE (cr=15 pr=1 pw=0 time=173 us co
st=12 size=186 card=6)
3
3
3
UNION-ALL (cr=15 pr=1 pw=0 time=15 us)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIONHI
STORY (cr=4 pr=0 pw=0 time=12 us cost=4 size=42 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHISTOR
Y (cr=3 pr=0 pw=0 time=7 us cost=3 size=0 card=3)(object id 20940)
1
1
1
NESTED LOOPS (cr=11 pr=1 pw=0 time=139 u
s cost=8 size=144 card=3)
1
1
1
NESTED LOOPS (cr=10 pr=1 pw=0 time=134
us cost=8 size=144 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISION
HISTORY (cr=4 pr=0 pw=0 time=6 us cost=4 size=72 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHIST
ORY (cr=3 pr=0 pw=0 time=5 us cost=3 size=0 card=3)(object id 20940)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=6 pr=
1 pw=0 time=125 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr
=1 pr=0 pw=0 time=3 us cost=2 size=24 card=1)
1
1
1
INDEX UNIQUE SCAN RT_ITEMDATA_CONTEXT_PK (cr
=8 pr=5 pw=0 time=9943 us cost=1 size=61 card=1)(object id 22410)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
19
0.02
0.07
********************************************************************************
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,
UserName, SourceMachine, SourceMachineID
FROM DCV_NotConflictedQuery X
WHERE ( QueryRevisionNumber = (SELECT MAX(QueryRevisionNumber) from PF_Query WH
ERE QueryID = :1 AND QueryID=X.QueryID and ConflictState NOT LIKE 'LINK:%' ) ) U
NION
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,
UserName, SourceMachine, SourceMachineID
FROM DCV_ConflictedQuery X WHERE ( QueryRevisionNumber = (SELECT MAX(QueryRevisi
onNumber) from PF_Query WHERE QueryID = :2 AND QueryID=X.QueryID and ConflictSta
te NOT LIKE 'LINK:%' ) ) ORDER BY QueryID, QueryRevisionNumber
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
6
0.00
0.00
0
0
0
0
Execute
6
0.08
0.08
0
0
0
0
Fetch
12
0.00
0.00
0
152
0
6

------- ------ -------- ---------- ---------- ---------- ---------- ---------total


24
0.08
0.08
0
152
0
6
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT UNIQUE (cr=25 pr=0 pw=0 time=296 us cost=
24 size=389 card=2)
1
1
1 UNION-ALL (cr=25 pr=0 pw=0 time=280 us)
1
1
1
NESTED LOOPS (cr=21 pr=0 pw=0 time=177 us c
ost=14 size=246 card=1)
1
1
1
NESTED LOOPS (cr=20 pr=0 pw=0 time=173 us
cost=14 size=246 card=1)
1
1
1
NESTED LOOPS (cr=18 pr=0 pw=0 time=168 us
cost=13 size=230 card=1)
1
1
1
NESTED LOOPS (cr=16 pr=0 pw=0 time=161 u
s cost=12 size=210 card=1)
1
1
1
NESTED LOOPS (cr=12 pr=0 pw=0 time=149
us cost=10 size=199 card=1)
1
1
1
NESTED LOOPS (cr=8 pr=0 pw=0 time=140
us cost=8 size=143 card=1)
1
1
1
VIEW VW_SQ_1 (cr=4 pr=0 pw=0 time=128
us cost=6 size=26 card=1)
1
1
1
HASH GROUP BY (cr=4 pr=0 pw=0 time=12
6 us cost=6 size=34 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY
(cr=4 pr=0 pw=0 time=20 us cost=6 size=68 card=2)
1
1
1
INDEX RANGE SCAN XPKPF_QUERY (cr=3
pr=0 pw=0 time=13 us cost=3 size=0 card=2)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (
cr=4 pr=0 pw=0 time=10 us cost=2 size=117 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=3 p
r=0 pw=0 time=7 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_REVISION
HISTORY (cr=4 pr=0 pw=0 time=7 us cost=2 size=56 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_REVISIONHISTOR
Y (cr=3 pr=0 pw=0 time=5 us cost=1 size=0 card=1)(object id 20939)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_TRANSACTI
ONHISTORY (cr=4 pr=0 pw=0 time=11 us cost=2 size=11 card=1)
1
1
1
INDEX UNIQUE SCAN XAK4PF_TRANSACTIONHIS
TORY (cr=3 pr=0 pw=0 time=4 us cost=1 size=0 card=1)(object id 21061)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_MACHINENAM
ES (cr=2 pr=0 pw=0 time=4 us cost=1 size=20 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_MACHINENAMES (cr
=1 pr=0 pw=0 time=2 us cost=0 size=0 card=1)(object id 20901)
1
1
1
INDEX UNIQUE SCAN XPKPF_USER (cr=2 pr=0 pw
=0 time=4 us cost=0 size=0 card=1)(object id 21024)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_USER (cr=1 p
r=0 pw=0 time=2 us cost=1 size=16 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=95 us cos
t=8 size=143 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=94 us co
st=8 size=143 card=1)
0
0
0
VIEW VW_SQ_2 (cr=4 pr=0 pw=0 time=93 us c
ost=6 size=26 card=1)

0
0
0
FILTER (cr=4 pr=0 pw=0 time=92 us)
1
1
1
HASH GROUP BY (cr=4 pr=0 pw=0 time=90 us
cost=6 size=34 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (c
r=4 pr=0 pw=0 time=15 us cost=6 size=68 card=2)
1
1
1
INDEX RANGE SCAN XPKPF_QUERY (cr=3 pr=
0 pw=0 time=10 us cost=3 size=0 card=2)(object id 20928)
0
0
0
INDEX UNIQUE SCAN XPKPF_QUERY (cr=0 pr=0 p
w=0 time=0 us cost=1 size=0 card=1)(object id 20928)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=0
pr=0 pw=0 time=0 us cost=2 size=117 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
12
0.00
0.00
SQL*Net message from client
12
0.00
0.01
********************************************************************************
SQL ID: 273df030nkuxm Plan Hash: 2689010875
SELECT PF_USER.USERID, PF_USER.USERNAME
FROM
PF_USER, PF_USERLIST, PF_GROUP WHERE PF_USER.USERID = PF_USERLIST.USERID AND
PF_USERLIST.GROUPID = PF_GROUP.GROUPID AND (PF_GROUP.GROUPTYPENAME =
'AC44A6E1-112E-11d2-8BED-0060082DE9D5') AND (PF_USERLIST.ISMEMBEROF = 1)
AND (PF_USERLIST.USERLISTREVISIONNUMBER = (SELECT
MAX(UserListRevisionNumber) FROM PF_UserList A WHERE A.UserID =
PF_UserList.UserID AND A.GroupID = PF_UserList.GroupID))ORDER BY
PF_USER.USERNAME
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.02
0.02
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
26
0.05
0.05
1
7170
0
2670
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
30
0.08
0.08
1
7170
0
2670
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1335
1335
1335 SORT ORDER BY (cr=3585 pr=0 pw=0 time=27770 us
cost=1117 size=25245 card=255)
1335
1335
1335 NESTED LOOPS (cr=3585 pr=0 pw=0 time=25903 u
s cost=1116 size=25245 card=255)
1486
1486
1486
HASH JOIN (cr=663 pr=0 pw=0 time=11040 us c
ost=351 size=21930 card=255)
1486
1486
1486
NESTED LOOPS (cr=636 pr=0 pw=0 time=5860 u
s cost=331 size=23730 card=339)
1637
1637
1637
NESTED LOOPS (cr=22 pr=0 pw=0 time=1292 u
s cost=331 size=23730 card=467)
1
1
1
TABLE ACCESS FULL PF_GROUP (cr=18 pr=0 pw

=0 time=396 us cost=8 size=44 card=1)


1637
1637
1637
INDEX RANGE SCAN XIF229PF_USERLIST (cr=4
pr=0 pw=0 time=525 us cost=2 size=0 card=467)(object id 21028)
1486
1486
1486
TABLE ACCESS BY INDEX ROWID PF_USERLIST (c
r=614 pr=0 pw=0 time=3566 us cost=323 size=8814 card=339)
6407
6407
6407
VIEW index$_join$_001 (cr=27 pr=0 pw=0 tim
e=9076 us cost=19 size=102512 card=6407)
6407
6407
6407
HASH JOIN (cr=27 pr=0 pw=0 time=8572 us)
6407
6407
6407
INDEX FAST FULL SCAN XPKPF_USER (cr=12 pr
=0 pw=0 time=1288 us cost=10 size=102512 card=6407)(object id 21024)
6407
6407
6407
INDEX FAST FULL SCAN XIE1PF_USER (cr=15 p
r=0 pw=0 time=1781 us cost=14 size=102512 card=6407)(object id 21025)
1335
1335
1335
VIEW PUSHED PREDICATE VW_SQ_1 (cr=2922 pr=0
pw=0 time=12096 us cost=3 size=13 card=1)
1486
1486
1486
FILTER (cr=2922 pr=0 pw=0 time=11296 us)
1486
1486
1486
SORT AGGREGATE (cr=2922 pr=0 pw=0 time=105
70 us)
3887
3887
3887
INDEX RANGE SCAN XIG101PF_USERLIST (cr=29
22 pr=0 pw=0 time=8726 us cost=3 size=23 card=1)(object id 21298)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
26
0.00
0.00
SQL*Net message from client
26
0.01
0.05
db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: f0fnkq2f8rz7g Plan Hash: 207058700
INSERT INTO RT_FORMHISTORY_REVS SELECT FH.*,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM RV_FORMHISTORY_REVS
FH WHERE FH.TRANSACTIONID=:B1 AND NOT EXISTS(SELECT 1 FROM
RT_FORMHISTORY_REVS WHERE FORMHISTORYID=FH.FORMHISTORYID)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.04
0.05
17
26
20
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.04
0.05
17
26
20
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=26 pr=17 pw=0 tim
e=17973 us)
1
1
1 NESTED LOOPS ANTI (cr=25 pr=7 pw=0 time=9607
us cost=24 size=434 card=2)

1
1
1
NESTED LOOPS (cr=22 pr=4 pw=0 time=8311 us
cost=20 size=420 card=2)
1
1
1
NESTED LOOPS (cr=20 pr=4 pw=0 time=8283 us
cost=18 size=376 card=2)
1
1
1
NESTED LOOPS (cr=17 pr=3 pw=0 time=7914 u
s cost=16 size=534 card=3)
1
1
1
NESTED LOOPS (cr=13 pr=2 pw=0 time=7648
us cost=10 size=468 card=3)
2
2
2
MERGE JOIN CARTESIAN (cr=6 pr=0 pw=0 tim
e=59 us cost=6 size=201 card=3)
1
1
1
TABLE ACCESS FULL RT_INFORMREP (cr=2 pr
=0 pw=0 time=32 us cost=3 size=5 card=1)
2
2
2
BUFFER SORT (cr=4 pr=0 pw=0 time=32 us
cost=3 size=186 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIO
NHISTORY (cr=4 pr=0 pw=0 time=17 us cost=3 size=186 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHIS
TORY (cr=3 pr=0 pw=0 time=11 us cost=2 size=0 card=3)(object id 20940)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SVECPSTAT
EHISTORY (cr=7 pr=2 pw=0 time=7578 us cost=2 size=89 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SVECPSTATEHISTO
RY (cr=6 pr=2 pw=0 time=7569 us cost=1 size=0 card=1)(object id 20981)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVEC
HAPTER_CUR (cr=4 pr=1 pw=0 time=266 us cost=2 size=22 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTER
_CUR (cr=3 pr=1 pw=0 time=261 us cost=1 size=0 card=1)(object id 22314)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_BOOKSTATE (
cr=3 pr=1 pw=0 time=366 us cost=1 size=10 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_BOOKSTATE (cr=2 p
r=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 20815)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORM_REVS (c
r=2 pr=0 pw=0 time=26 us cost=1 size=22 card=1)
1
1
1
INDEX UNIQUE SCAN RT_FORM_REVS_PK (cr=1 pr
=0 pw=0 time=13 us cost=0 size=0 card=1)(object id 22624)
0
0
0
INDEX RANGE SCAN RT_FORMHISTORY_REVS_PK (cr=
3 pr=3 pw=0 time=1294 us cost=2 size=7 card=1)(object id 22589)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
17
0.00
0.01
********************************************************************************
SQL ID: bwb3rbtv68dk2 Plan Hash: 4004470704
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B1 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_NOITEMDATA V WHERE CONTEXTID IN (SELECT DBUID FROM
PF_REVISIONHISTORY WHERE TRANSACTIONID=:B1 UNION ALL SELECT CONTEXTID FROM
PF_REVISIONHISTORY RH, PF_QUERY Q WHERE RH.TRANSACTIONID=:B1 AND RH.DBUID=
Q.QUERYID AND RH.REVISIONNUMBER=Q.QUERYREVISIONNUMBER)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.05
0.05
0
35
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.05
0.05
0
35
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=35 pr=0 pw=0 time
=117 us)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=12 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=13 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 NESTED LOOPS ANTI (cr=35 pr=0 pw=0 time=112 u
s cost=50 size=130 card=1)
1
1
1
NESTED LOOPS (cr=32 pr=0 pw=0 time=103 us c
ost=48 size=123 card=1)
1
1
1
NESTED LOOPS (cr=28 pr=0 pw=0 time=92 us c
ost=36 size=558 card=6)
1
1
1
NESTED LOOPS (cr=24 pr=0 pw=0 time=85 us
cost=24 size=426 card=6)
3
3
3
VIEW VW_NSO_1 (cr=15 pr=0 pw=0 time=70 u
s cost=12 size=42 card=6)
3
3
3
SORT UNIQUE (cr=15 pr=0 pw=0 time=67 us
cost=12 size=372 card=6)
3
3
3
UNION-ALL (cr=15 pr=0 pw=0 time=22 us)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIO
NHISTORY (cr=4 pr=0 pw=0 time=20 us cost=4 size=42 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHIS
TORY (cr=3 pr=0 pw=0 time=17 us cost=3 size=0 card=3)(object id 20940)
1
1
1
NESTED LOOPS (cr=11 pr=0 pw=0 time=30
us cost=8 size=144 card=3)
1
1
1
NESTED LOOPS (cr=10 pr=0 pw=0 time=2
5 us cost=8 size=144 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVIS
IONHISTORY (cr=4 pr=0 pw=0 time=4 us cost=4 size=72 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONH
ISTORY (cr=3 pr=0 pw=0 time=2 us cost=3 size=0 card=3)(object id 20940)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=6
pr=0 pw=0 time=16 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY
(cr=1 pr=0 pw=0 time=4 us cost=2 size=24 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEX
T (cr=9 pr=0 pw=0 time=15 us cost=2 size=64 card=1)

1
1
1
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (cr=
8 pr=0 pw=0 time=12 us cost=1 size=0 card=1)(object id 20881)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTER_CUR (cr=4 pr=0 pw=0 time=6 us cost=2 size=22 card=1)
1
1
1
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHAPT
ER_CUR (cr=3 pr=0 pw=0 time=5 us cost=1 size=0 card=1)(object id 22316)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHA
PTERPAGE (cr=4 pr=0 pw=0 time=9 us cost=2 size=30 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTERPA
GE (cr=3 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 20978)
1
1
1
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=3 pr=0
pw=0 time=7 us cost=2 size=7 card=1)(object id 20893)
********************************************************************************
SELECT COUNT(PF_Query.QueryID) AS QueryCount
FROM PF_Query, PF_ItemContext
WHERE (SubjectKeyID=:1 AND ChapterID=:2 AND PageID=:3 AND PageIndex=:4 AND Chapt
erIndex=:5 AND QueryState=1) AND PF_Query.ContextID = PF_ItemContext.ContextID
AND PF_Query.QueryRevisionNumber =
(SELECT MAX(QueryRevisionNumber)
FROM PF_Query A
WHERE A.QueryID = PF_Query.QueryID)
GROUP BY PF_ItemContext.ContextID, PF_ItemContext.PageID,
PF_ItemContext.SubjectKeyID, PF_ItemContext.ChapterID
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.01
0.01
0
0
0
0
Fetch
2
0.00
0.03
17
65
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.02
0.05
17
65
0
6
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------6
6
6 HASH GROUP BY (cr=65 pr=17 pw=0 time=32301 us
cost=20 size=58 card=1)
6
6
6 FILTER (cr=65 pr=17 pw=0 time=19351 us)
12
12
12
NESTED LOOPS (cr=46 pr=14 pw=0 time=97168 u
s cost=13 size=232 card=4)
20
20
20
NESTED LOOPS (cr=31 pr=3 pw=0 time=2385 us
cost=13 size=232 card=9)
75
75
75
INDEX RANGE SCAN IRI_PFITEMCONTEXT_01 (cr=
5 pr=0 pw=0 time=135 us cost=4 size=93 card=3)(object id 20890)
20
20
20
INDEX RANGE SCAN XIF236PF_QUERY (cr=26 pr=
3 pw=0 time=2668 us cost=2 size=0 card=3)(object id 20929)
12
12
12
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=15
pr=11 pw=0 time=26287 us cost=5 size=27 card=1)
11
11
11
SORT AGGREGATE (cr=19 pr=3 pw=0 time=2721 us
)
11
11
11
FIRST ROW (cr=19 pr=3 pw=0 time=2680 us co
st=3 size=17 card=1)

11
11
11
INDEX RANGE SCAN (MIN/MAX) XPKPF_QUERY (cr
=19 pr=3 pw=0 time=2667 us cost=3 size=17 card=1)(object id 20928)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
db file sequential read
17
0.00
0.02
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 594ux2620fn1p Plan Hash: 898261589
select *
from
(select MAIN.*, SUM(rowbytes) OVER () as TOTALBYTES FROM (select SITEID,
SITEMNEMONIC, SITENAME, (LENGTH(SITEMNEMONIC) + LENGTH(SITENAME)) as
rowbytes from DCV_SITE where SITEID in (select SITEID from RT_USER_SITES
where USERID=:1) ORDER BY SITEMNEMONIC) MAIN)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
3
0.00
0.00
0
0
0
0
Execute
3
0.01
0.01
0
0
0
0
Fetch
99
0.02
0.03
3
87
0
2673
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
105
0.04
0.05
3
87
0
2673
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------891
891
891 VIEW (cr=29 pr=1 pw=0 time=10269 us cost=15 s
ize=575 card=1)
891
891
891 WINDOW BUFFER (cr=29 pr=1 pw=0 time=9673 us c
ost=15 size=562 card=1)
891
891
891
VIEW (cr=29 pr=1 pw=0 time=8934 us cost=15
size=562 card=1)
891
891
891
SORT ORDER BY (cr=29 pr=1 pw=0 time=8847 us
cost=15 size=93 card=1)
891
891
891
FILTER (cr=29 pr=1 pw=0 time=6949 us)
891
891
891
HASH GROUP BY (cr=29 pr=1 pw=0 time=6354
us cost=15 size=93 card=1)
891
891
891
HASH JOIN (cr=29 pr=1 pw=0 time=4764 us
cost=13 size=17856 card=192)
891
891
891
HASH JOIN (cr=18 pr=1 pw=0 time=2640 u
s cost=9 size=14592 card=192)
891
891
891
INDEX RANGE SCAN RT_USER_SITES_PK (cr=
5 pr=1 pw=0 time=10596 us cost=3 size=4800 card=192)(object id 22563)
2925
2925
2925
TABLE ACCESS FULL PF_SITE (cr=13 pr=0
pw=0 time=634 us cost=6 size=149175 card=2925)
2925
2925
2925
INDEX FAST FULL SCAN XPKPF_SITE (cr=11
pr=0 pw=0 time=462 us cost=4 size=49725 card=2925)(object id 20967)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
99
0.00
0.00
db file sequential read
3
0.00
0.00
SQL*Net message from client
99
0.01
0.11
********************************************************************************
SQL ID: 9fk3k7hfx9jyn Plan Hash: 2137622815
DELETE FROM RT_CONTEXT_CONTROLS
WHERE
CONTEXTID IN (SELECT CONTEXTID FROM RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=
:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.00
0.04
7
6
10
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.04
7
6
12
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_CONTEXT_CONTROLS (cr=6 pr=7 pw=0 ti
me=42309 us)
1
1
1 NESTED LOOPS (cr=6 pr=3 pw=0 time=28339 us c
ost=8 size=185 card=5)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr=3
pr=0 pw=0 time=9 us cost=3 size=70 card=5)(object id 22407)
1
1
1
INDEX UNIQUE SCAN RT_CONTEXT_CONTROLS_PK (cr
=3 pr=3 pw=0 time=28326 us cost=1 size=23 card=1)(object id 22553)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
7
0.01
0.03
********************************************************************************
SQL ID: 52q42vakcfhp7 Plan Hash: 0
Insert into PF_QUERY (QUERYID, QUERYDATA, RULEITEMID, REISSUED, CONFLICTSTATE,
QUERYSTATE, QUERYTYPE, QUERYGROUP, QUERYREVISIONNUMBER, CONTEXTID)
VALUES
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------

Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.01
0.03
13
1
25
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.03
13
1
25
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=9 pr=17 pw=0 time
=57257 us)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
13
0.01
0.02
Disk file operations I/O
1
0.00
0.00
SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: afrr41490fq5b Plan Hash: 0
Insert into PF_TRANSACTIONHISTORY (PFTIMESTAMP, USERID, INFORMVERSION,
INSERTTIMESTAMP, TRANSACTIONID, EXTERNALGUID, SOURCEMACHINE, INTERNALGUID,
TYPE, TRANSACTIONREVISIONNUMBER)
VALUES
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.02
0.03
18
1
29
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.02
0.03
18
1
29
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=1 pr=18 pw=0 time
=30993 us)
Elapsed times include waiting on following events:
Event waited on
Times

Max. Wait Total Waited

---------------------------------------- Waited ---------- -----------db file sequential read


18
0.01
0.01
Disk file operations I/O
2
0.00
0.01
SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: ayz9bgyh1j43m Plan Hash: 1492273498
INSERT INTO RT_AF_SUMMARY SELECT AF.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS
DATE), :B1 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),:B1 FROM
RV_AF_SUMMARY AF WHERE (SITEID, VISITID) IN (SELECT S.SITEID, FH.VISITID
FROM RT_FORMHISTORY_REVS FH, RT_SUBJECT S WHERE FH.TRANSACTIONID=:B2 AND
S.SUBJECTID=FH.SUBJECTID)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.03
0.03
34
935
43
11
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.03
0.03
34
935
45
11
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=935 pr=34 pw=0 ti
me=8409 us)
11
11
11 HASH GROUP BY (cr=934 pr=31 pw=0 time=7964 us
cost=412 size=280 card=5)
316
316
316
VIEW VM_NWVW_2 (cr=934 pr=31 pw=0 time=6783
us cost=411 size=280 card=5)
316
316
316
HASH UNIQUE (cr=934 pr=31 pw=0 time=6782 us
cost=411 size=745 card=5)
316
316
316
NESTED LOOPS (cr=934 pr=31 pw=0 time=4191
us cost=410 size=745 card=5)
316
316
316
NESTED LOOPS (cr=636 pr=19 pw=0 time=365
7 us cost=410 size=745 card=239)
316
316
316
NESTED LOOPS (cr=319 pr=0 pw=0 time=235
7 us cost=173 size=28680 card=239)
1
1
1
NESTED LOOPS (cr=7 pr=0 pw=0 time=21 u
s cost=7 size=66 card=2)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORMHIS
TORY_REVS (cr=4 pr=0 pw=0 time=15 us cost=5 size=38 card=2)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID (
cr=3 pr=0 pw=0 time=11 us cost=3 size=0 card=2)(object id 22586)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_SUBJECT
(cr=3 pr=0 pw=0 time=5 us cost=1 size=14 card=1)
1
1
1
INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=2
pr=0 pw=0 time=4 us cost=0 size=0 card=1)(object id 22570)
316
316
316
TABLE ACCESS BY INDEX ROWID RT_ACTIVATE
D_FORMS (cr=312 pr=0 pw=0 time=2230 us cost=83 size=13572 card=156)

316
316
316
INDEX RANGE SCAN IRI_ACTIVATED_FORMS_0
2 (cr=4 pr=0 pw=0 time=124 us cost=2 size=0 card=85)(object id 22595)
316
316
316
INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=317
pr=19 pw=0 time=2629 us cost=0 size=0 card=1)(object id 22570)
316
316
316
TABLE ACCESS BY INDEX ROWID RT_SUBJECT (c
r=298 pr=12 pw=0 time=1369 us cost=1 size=29 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
34
0.00
0.00
********************************************************************************
SQL ID: 4327df1shn9h8 Plan Hash: 533140045
select *
from
PF_TransactionHistory WHERE InternalGUID = :1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.01
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
3
3
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.02
3
3
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID PF_TRANSACTIONHIST
ORY (cr=3 pr=3 pw=0 time=9687 us cost=3 size=126 card=1)
0
0
0 INDEX UNIQUE SCAN XAK1PF_TRANSACTIONHISTORY (
cr=3 pr=3 pw=0 time=9677 us cost=2 size=0 card=1)(object id 21015)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
db file sequential read
3
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,
UserName, SourceMachine, SourceMachineID
FROM DCV_NotConflictedQuery X
WHERE (QueryID = :1 AND ConflictState NOT LIKE 'LINK:%') UNION
SELECT QueryID, QueryRevisionNumber, ContextID, QueryType, QueryState, QueryGrou
p,
QueryData, RuleItemID, Reissued, ConflictState, UserID, PFTimestamp, Reason,

UserName, SourceMachine, SourceMachineID


FROM DCV_ConflictedQuery X WHERE (QueryID = :2 AND ConflictState NOT LIKE 'LINK:
%') ORDER BY QueryID, QueryRevisionNumber
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.01
0
0
0
0
Execute
2
0.01
0.01
0
0
0
0
Fetch
4
0.00
0.00
0
40
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.01
0.02
0
40
0
2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT UNIQUE (cr=20 pr=0 pw=0 time=103 us cost=
15 size=337 card=2)
1
1
1 UNION-ALL (cr=20 pr=0 pw=0 time=87 us)
1
1
1
NESTED LOOPS (cr=17 pr=0 pw=0 time=72 us co
st=10 size=220 card=1)
1
1
1
NESTED LOOPS (cr=16 pr=0 pw=0 time=65 us c
ost=10 size=220 card=1)
1
1
1
NESTED LOOPS (cr=13 pr=0 pw=0 time=57 us
cost=8 size=103 card=1)
1
1
1
NESTED LOOPS (cr=10 pr=0 pw=0 time=50 us
cost=7 size=87 card=1)
1
1
1
NESTED LOOPS (cr=8 pr=0 pw=0 time=42 us
cost=6 size=67 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_REVISION
HISTORY (cr=4 pr=0 pw=0 time=26 us cost=4 size=56 card=1)
1
1
1
INDEX RANGE SCAN XPKPF_REVISIONHISTORY
(cr=3 pr=0 pw=0 time=16 us cost=3 size=0 card=1)(object id 20939)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_TRANSACT
IONHISTORY (cr=4 pr=0 pw=0 time=14 us cost=2 size=11 card=1)
1
1
1
INDEX UNIQUE SCAN XAK4PF_TRANSACTIONHI
STORY (cr=3 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 21061)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_MACHINENA
MES (cr=2 pr=0 pw=0 time=6 us cost=1 size=20 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_MACHINENAMES (c
r=1 pr=0 pw=0 time=4 us cost=0 size=0 card=1)(object id 20901)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_USER (cr=3
pr=0 pw=0 time=7 us cost=1 size=16 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_USER (cr=2 pr=0
pw=0 time=4 us cost=0 size=0 card=1)(object id 21024)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY (cr=3 pr=0 p
w=0 time=6 us cost=1 size=0 card=1)(object id 20928)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=1
pr=0 pw=0 time=4 us cost=2 size=117 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=3 p
r=0 pw=0 time=6 us cost=3 size=117 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_QUERY (cr=3 pr=0 pw
=0 time=4 us cost=2 size=0 card=1)(object id 20928)
Elapsed times include waiting on following events:

Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 809xwfdz06xu9 Plan Hash: 0
Insert into PF_REVISIONHISTORY (REVIEWSCHEMAUPDATED, PFTIMESTAMP, USERID,
REVISIONNUMBER, REASON, KEYID, DBUID, TRANSACTIONID, HISTORICALORDER,
SITEFILTER)
VALUES
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.02
0.02
9
2
24
2
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.02
0.02
9
2
24
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=6 pr=8 pw=0 time=
10237 us)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
9
0.00
0.00
Disk file operations I/O
1
0.00
0.00
SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: fc0jxpp5rqydc Plan Hash: 1875821262
INSERT INTO RT_ITEMDATA_CONTEXT SELECT V.CONTEXTID,V.SUBJECTID,V.SUBJECTTYPE,
V.SUBJECTVISITID,V.VISITID,V.VISITINDEX, V.FORMID,V.FORMREV,V.FORMINDEX,
V.SECTIONID,V.ITEMSETID,V.ITEMSETINDEX, V.ITEMSETSTATE,V.ITEMSETSDVTIME,
V.ITEMID, DECODE(BITAND(DECODE(V.ITEMSETINDEX,NULL,V.STATE,V.ITEMSETSTATE),
2),2,1,0) ITEMSDVED, V.STATE,V.FORMSTATE,V.FORMDELETED,V.AUDITORDER,
V.PREVIOUSAUDITORDER, :B1 ,V.LASTENTEREDDATE,V.ENTEREDBY,V.ENTEREDREASON,
DECODE(V.ITEMSETINDEX,NULL,V.SDVTIME,V.ITEMSETSDVTIME) SDVTIME,
V.CALCULATEDTYPE, V.BLANK,V.PREDEFINED, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), 1, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),1 FROM
RV_ITEMDATA_CONTEXT_NOITEMDATA V WHERE ITEMSETINDEX IN (SELECT ITEMSETINDEX
FROM RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=:B1 AND ITEMSETID IS NULL) AND
ITEMSETID IS NOT NULL

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.02
0.02
0
4
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.02
0.02
0
4
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=4 pr=0 pw=0 time=
30 us)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=12 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=4 size=13 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=3 size=0 card=4)(object id 22406)
0
0
0 NESTED LOOPS (cr=4 pr=0 pw=0 time=26 us cost
=29 size=140 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=26 us cos
t=29 size=140 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=26 us co
st=27 size=110 card=1)
0
0
0
NESTED LOOPS ANTI (cr=4 pr=0 pw=0 time=26
us cost=25 size=88 card=1)
0
0
0
NESTED LOOPS (cr=4 pr=0 pw=0 time=18 us
cost=13 size=486 card=6)
0
0
0
SORT UNIQUE (cr=4 pr=0 pw=0 time=18 us c
ost=9 size=34 card=2)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA
_CONTEXT (cr=4 pr=0 pw=0 time=14 us cost=9 size=34 card=2)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1
(cr=3 pr=0 pw=0 time=9 us cost=3 size=0 card=5)(object id 22407)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTE
XT (cr=0 pr=0 pw=0 time=0 us cost=3 size=256 card=4)
0
0
0
INDEX RANGE SCAN IRI_PFITEMCONTEXT_02 (
cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=8)(object id 20891)
0
0
0
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=0 p
r=0 pw=0 time=0 us cost=2 size=370973729 card=52996247)(object id 20893)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHAPT
ER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTERPAG
E (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20978)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAP
TERPAGE (cr=0 pr=0 pw=0 time=0 us cost=2 size=30 card=1)
********************************************************************************

SQL ID: 5j3vskg15x9wa Plan Hash: 2339114986


INSERT INTO RT_CONTROLDATA SELECT V.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS
DATE), :B2 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM
RV_CONTROLDATA V WHERE TRANSACTIONID=:B1

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.01
0.02
12
9
36
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.02
12
9
36
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=9 pr=12 pw=0 time
=2422 us)
1
1
1 NESTED LOOPS (cr=8 pr=0 pw=0 time=27 us cost
=20 size=935 card=5)
1
1
1
NESTED LOOPS (cr=7 pr=0 pw=0 time=21 us cos
t=20 size=935 card=5)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CON
TEXT (cr=4 pr=0 pw=0 time=12 us cost=9 size=650 card=5)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr
=3 pr=0 pw=0 time=8 us cost=3 size=0 card=5)(object id 22407)
1
1
1
INDEX RANGE SCAN XIF16PF_CONTROLDATA (cr=3
pr=0 pw=0 time=9 us cost=2 size=0 card=1)(object id 20835)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_CONTROLDATA (
cr=1 pr=0 pw=0 time=4 us cost=3 size=57 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
12
0.00
0.00
********************************************************************************
SQL ID: 7umtyst5jg0ty Plan Hash: 1302999507
UPDATE PF_QUERY_LISTING SET CURRENTQUERYREVISIONNUMBER = :B3 ,
CURRENTQUERYSTATE = :B2 , CURRENTQUERYDATA = :B1
WHERE
QUERYID = :B4 AND CURRENTQUERYREVISIONNUMBER <= :B3
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.02
2
3
2
1

Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.02
2
3
2
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 UPDATE PF_QUERY_LISTING (cr=3 pr=2 pw=0 time=
19798 us)
1
1
1 TABLE ACCESS BY INDEX ROWID PF_QUERY_LISTING
(cr=3 pr=2 pw=0 time=19679 us cost=2 size=61 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_QUERY_LISTING (cr=2
pr=2 pw=0 time=19669 us cost=1 size=0 card=1)(object id 22294)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.01
0.01
********************************************************************************
SQL ID: 8ccay8k9naa39 Plan Hash: 1961300979
DELETE FROM RT_ITEMDATA_CONTEXT
WHERE
:B2 =:B1 AND (SUBJECTVISITID, FORMID, FORMINDEX) IN (SELECT DISTINCT
SV.SUBJECTCHAPTERID, IC.PAGEID, IC.PAGEINDEX FROM PF_REVISIONHISTORY RH,
PF_COMMENT C, PF_ITEMCONTEXT IC, PF_SUBJECTVECHAPTER_CUR SV WHERE
RH.TRANSACTIONID=:B3 AND RH.DBUID=C.COMMENTID AND RH.REVISIONNUMBER=
C.COMMENTREVISIONNUMBER AND C.CONTEXTID=IC.CONTEXTID AND IC.SUBJECTKEYID=
SV.SUBJECTKEYID AND IC.CHAPTERID=SV.CHAPTERID AND IC.CHAPTERINDEX=
SV.CHAPTERINDEX)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.02
0.02
0
0
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.02
0.02
0
0
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_ITEMDATA_CONTEXT (cr=0 pr=0 pw=0 ti
me=63 us)
0
0
0 NESTED LOOPS (cr=0 pr=0 pw=0 time=6 us cost=

22 size=1900 card=19)
0
0
0
VIEW VW_NSO_1 (cr=0 pr=0 pw=0 time=6 us cos
t=18 size=117 card=3)
0
0
0
SORT UNIQUE (cr=0 pr=0 pw=0 time=6 us cost=
18 size=297 card=3)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=2 us)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us c
ost=17 size=297 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=17 size=297 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us
cost=11 size=231 card=3)
0
0
0
NESTED LOOPS (cr=0 pr=0 pw=0 time=0 u
s cost=5 size=138 card=3)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVISI
ONHISTORY (cr=0 pr=0 pw=0 time=0 us cost=4 size=72 card=3)
0
0
0
INDEX RANGE SCAN XIF705PF_REVISIONHI
STORY (cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 20940)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_COMMEN
T (cr=0 pr=0 pw=0 time=0 us cost=1 size=22 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_COMMENT (cr=
0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20826)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_ITEMCON
TEXT (cr=0 pr=0 pw=0 time=0 us cost=2 size=31 card=1)
0
0
0
INDEX UNIQUE SCAN XPKPF_ITEMCONTEXT (
cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 20881)
0
0
0
INDEX UNIQUE SCAN XIE356PF_SUBJECTVECHA
PTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22316)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVE
CHAPTER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=22 card=1)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_4 (cr=0
pr=0 pw=0 time=0 us cost=2 size=366 card=6)(object id 22409)
********************************************************************************
SQL ID: 9vx2t9q374t4f Plan Hash: 1526702277
DELETE FROM RT_AF_SUMMARY T
WHERE
(SITEID, VISITID) IN (SELECT S.SITEID, FH.VISITID FROM RT_FORMHISTORY_REVS
FH, RT_SUBJECT S WHERE FH.TRANSACTIONID=:B1 AND S.SUBJECTID=FH.SUBJECTID)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.01
0.01
9
9
34
11
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.01
0.01
9
9
34
11
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

0 DELETE RT_AF_SUMMARY (cr=9 pr=9 pw=0 time=765

8 us)
11
11
11 NESTED LOOPS (cr=9 pr=3 pw=0 time=612 us cos
t=10 size=435 card=5)
1
1
1
VIEW VW_NSO_1 (cr=7 pr=1 pw=0 time=237 us c
ost=7 size=52 card=2)
1
1
1
SORT UNIQUE (cr=7 pr=1 pw=0 time=235 us)
1
1
1
NESTED LOOPS (cr=7 pr=1 pw=0 time=221 us
cost=7 size=66 card=2)
1
1
1
NESTED LOOPS (cr=6 pr=1 pw=0 time=213 us
cost=7 size=66 card=2)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_FORMHISTO
RY_REVS (cr=4 pr=1 pw=0 time=201 us cost=5 size=38 card=2)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID (cr
=3 pr=1 pw=0 time=192 us cost=3 size=0 card=2)(object id 22586)
1
1
1
INDEX UNIQUE SCAN RT_SUBJECT_PK (cr=2 pr
=0 pw=0 time=10 us cost=0 size=0 card=1)(object id 22570)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_SUBJECT (c
r=1 pr=0 pw=0 time=5 us cost=1 size=14 card=1)
11
11
11
INDEX RANGE SCAN IX_RT_AF_SUMMARY_02 (cr=2 p
r=2 pw=0 time=365 us cost=1 size=122 card=2)(object id 22601)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
9
0.00
0.00
Disk file operations I/O
1
0.00
0.00
********************************************************************************
SQL ID: 7ng34ruy5awxq Plan Hash: 3992920156
select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i.property,
i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.distkey,i.lblkkey,
i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samplesize,i.dataobj#,
nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mod(i.pctthres$,256),
i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(c.deferrable#+c.valid#,0),
nvl(i.spare1,i.intcols),i.spare4,i.spare2,i.spare6,decode(i.pctthres$,null,
null,mod(trunc(i.pctthres$/256),256)),ist.cachedblk,ist.cachehit,
ist.logicalread
from
ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols,
min(to_number(bitand(defer,1))) deferrable#,min(to_number(bitand(defer,4)))
valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where
i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
25
0.00
0.00
0
0
0
0
Fetch
85
0.00
0.00
32
207
0
60
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
111
0.01
0.01
32
207
0
60
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1

Rows (1st) Rows (avg) Rows (max) Row Source Operation


---------- ---------- ---------- -------------------------------------------------1
1
1 SORT ORDER BY (cr=9 pr=3 pw=0 time=703 us cost
=6 size=386 card=2)
1
1
1 HASH JOIN OUTER (cr=9 pr=3 pw=0 time=666 us c
ost=5 size=386 card=2)
1
1
1
NESTED LOOPS OUTER (cr=5 pr=2 pw=0 time=272
us cost=2 size=300 card=2)
1
1
1
TABLE ACCESS CLUSTER IND$ (cr=4 pr=2 pw=0 t
ime=245 us cost=2 size=196 card=2)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 t
ime=38 us cost=1 size=0 card=1)(object id 3)
0
0
0
TABLE ACCESS BY INDEX ROWID IND_STATS$ (cr=
1 pr=0 pw=0 time=19 us cost=0 size=52 card=1)
0
0
0
INDEX UNIQUE SCAN I_IND_STATS$_OBJ# (cr=1
pr=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 456)
0
0
0
VIEW (cr=4 pr=1 pw=0 time=188 us cost=3 siz
e=43 card=1)
0
0
0
SORT GROUP BY (cr=4 pr=1 pw=0 time=187 us c
ost=3 size=15 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID CDEF$ (cr=4 pr
=1 pw=0 time=153 us cost=2 size=15 card=1)
6
6
6
INDEX RANGE SCAN I_CDEF2 (cr=2 pr=0 pw=0
time=49 us cost=1 size=0 card=5)(object id 54)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
32
0.00
0.00
********************************************************************************
SQL ID: 83taa7kaw59c1 Plan Hash: 3765558045
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decode(type#,2,
nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180,scale,181,scale,182,
scale,183,scale,231,scale,0),null$,fixedstorage,nvl(deflength,0),default$,
rowid,col#,property, nvl(charsetid,0),nvl(charsetform,0),spare1,spare2,
nvl(spare3,0)
from
col$ where obj#=:1 order by intcol#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
51
0.00
0.00
0
0
0
0
Fetch
1020
0.01
0.00
13
174
0
969
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
1072
0.01
0.01
13
174
0
969
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation

---------- ---------- ---------- -------------------------------------------------8


8
8 SORT ORDER BY (cr=4 pr=0 pw=0 time=63 us cost=
3 size=1200 card=20)
8
8
8 TABLE ACCESS CLUSTER COL$ (cr=4 pr=0 pw=0 tim
e=25 us cost=2 size=1200 card=20)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 tim
e=7 us cost=1 size=0 card=1)(object id 3)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
13
0.00
0.00
********************************************************************************
SQL ID: 2mjm43nf92wv2 Plan Hash: 462845452
select *
from
PF_SITE where 1=1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
392
0.01
0.01
0
416
0
5850
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
396
0.01
0.01
0
416
0
5850
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------2925
2925
2925 TABLE ACCESS FULL PF_SITE (cr=208 pr=0 pw=0 ti
me=2689 us cost=6 size=149175 card=2925)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
392
0.00
0.00
SQL*Net message from client
392
0.00
0.23
********************************************************************************
SQL ID: 20s9zsnnbsjs1 Plan Hash: 2865309860
SELECT PI1.ITEMID, PI1.DISPLAYOVERRIDE
FROM
PF_ITEM PI1 WHERE PI1.ITEMREVISIONNUMBER = (SELECT
MAX(PI2.ITEMREVISIONNUMBER) FROM PF_ITEM PI2 WHERE PI2.ITEMID = PI1.ITEMID)
AND PI1.DISPLAYOVERRIDE = 3
call

count

cpu

elapsed

disk

query

current

rows

------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse


2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
0
28
0
216
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.01
0.01
0
28
0
216
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------108
108
108 HASH JOIN (cr=14 pr=0 pw=0 time=2956 us cost=
9 size=2860 card=65)
118
118
118 TABLE ACCESS FULL PF_ITEM (cr=10 pr=0 pw=0 ti
me=256 us cost=5 size=2124 card=118)
772
772
772 VIEW VW_SQ_1 (cr=4 pr=0 pw=0 time=2228 us co
st=4 size=20072 card=772)
772
772
772
HASH GROUP BY (cr=4 pr=0 pw=0 time=2227 us c
ost=4 size=11580 card=772)
1396
1396
1396
INDEX FULL SCAN XPKPF_ITEM (cr=4 pr=0 pw=0
time=273 us cost=4 size=20940 card=1396)(object id 20878)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 2bgt3m9cnwwcf Plan Hash: 134650545
INSERT INTO RT_CONTEXT_CONTROLS SELECT V.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), :B1 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B1 FROM
RV_CONTEXT_CONTROLS V WHERE CONTEXTID IN (SELECT CONTEXTID FROM
RT_ITEMDATA_CONTEXT WHERE TRANSACTIONID=:B2 )

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.00
0.01
5
8
12
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.01
5
8
14
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

0 LOAD TABLE CONVENTIONAL (cr=8 pr=5 pw=0 time=

8497 us)
1
1
1 HASH GROUP BY (cr=7 pr=0 pw=0 time=182 us cos
t=20 size=448 card=7)
1
1
1
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=45 u
s cost=19 size=448 card=7)
1
1
1
NESTED LOOPS (cr=7 pr=0 pw=0 time=38 us co
st=19 size=343 card=7)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr
=3 pr=0 pw=0 time=16 us cost=3 size=70 card=5)(object id 22407)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_CONTROLDATA
(cr=4 pr=0 pw=0 time=21 us cost=4 size=35 card=1)
1
1
1
INDEX RANGE SCAN IX_CONTROLDATA_03 (cr=3
pr=0 pw=0 time=14 us cost=2 size=0 card=1)(object id 22547)
0
0
0
INDEX RANGE SCAN IRI_NOTDONE_CONTROL_PK (cr
=0 pr=0 pw=0 time=1 us cost=0 size=15 card=1)(object id 22404)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
5
0.00
0.00
********************************************************************************
SQL ID: 9vmycdqr6s0cw Plan Hash: 3058150896
Select ContextID
FROM
PF_ItemContext WHERE SubjectKeyID = :1 AND ChapterID = :2 AND PageID = :3
AND PageIndex = :4 AND SectionID = :5 AND ItemID = :6 AND SetItemOrder = :7
AND ChapterIndex = :8
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
4
0.00
0.01
0
0
0
0
Execute
4
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
0
20
0
4
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
16
0.00
0.01
0
20
0
4
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEXT (cr
=5 pr=0 pw=0 time=33 us cost=4 size=48 card=1)
1
1
1 INDEX RANGE SCAN XIE3PF_ITEMCONTEXT (cr=4 pr=
0 pw=0 time=35 us cost=3 size=0 card=1)(object id 20886)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
8
0.00
0.00

SQL*Net message from client


8
0.00
0.00
********************************************************************************
SQL ID: gd2bp2cujmr9m Plan Hash: 3863377845
DELETE FROM RT_FORMHISTORY_SUMMARY T
WHERE
(SUBJECTVISITID, FORMID, FORMINDEX) IN (SELECT SUBJECTVISITID, FORMID,
FORMINDEX FROM RT_FORMHISTORY_REVS WHERE TRANSACTIONID=:B1 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.01
7
6
10
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.01
7
6
10
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_FORMHISTORY_SUMMARY (cr=6 pr=7 pw=0
time=11043 us)
1
1
1 NESTED LOOPS (cr=6 pr=3 pw=0 time=2172 us co
st=6 size=112 card=2)
1
1
1
SORT UNIQUE (cr=3 pr=0 pw=0 time=34 us cost=
3 size=46 card=2)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID2 (cr=3
pr=0 pw=0 time=11 us cost=3 size=46 card=2)(object id 22587)
1
1
1
INDEX RANGE SCAN PK_FORMHISTORY_SUMMARY (cr=
3 pr=3 pw=0 time=2135 us cost=2 size=33 card=1)(object id 22591)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
7
0.00
0.00
********************************************************************************
SQL ID: 5wxyshspv54v4 Plan Hash: 3009292138
select tc.type#,tc.intcol#,tc.position#,c.type#, c.length,c.scale,
c.precision#,c.charsetid,c.charsetform, decode(bitand(c.property,8388608),
8388608, c.spare3, 0)
from
triggercol$ tc,col$ c, trigger$ tr where tc.obj#=:1 and tc.intcol#=c.intcol#
and tr.obj# = tc.obj# and (bitand(tr.property,32) != 32 or bitand(tc.type#,
20) = 20) and ( c.obj#=:2 and (bitand(tc.type#, 1024) = :3 or tc.type# =
0)
or c.obj#=:4 and bitand(tc.type#, 1024) = :5
or c.obj#=:6 and
tc.type# = 0 and tc.position# = 0) union select type#,intcol#,position#,69,
0,0,0,0,0,0 from triggercol$ where obj#=:7 and intcol#=1001 union select
tc.type#,tc.intcol#,tc.position#,121,0,0,0,0,0,0 from triggercol$ tc,
trigger$ tr where tr.obj# = tc.obj# and bitand(tr.property,32) = 32 and

tc.obj# = :8 and bitand(tc.type#,20) != 20


call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
3
0.00
0.00
0
0
0
0
Execute
3
0.00
0.01
0
0
0
0
Fetch
21
0.00
0.00
5
118
0
18
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
27
0.01
0.01
5
118
0
18
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------4
6
10 SORT UNIQUE (cr=39 pr=2 pw=0 time=279 us cost=
16 size=277 card=8)
4
6
10 UNION-ALL (cr=39 pr=2 pw=0 time=243 us)
4
6
10
CONCATENATION (cr=35 pr=2 pw=0 time=230 us)
0
1
2
NESTED LOOPS (cr=6 pr=1 pw=0 time=57 us co
st=3 size=57 card=1)
0
1
2
NESTED LOOPS (cr=5 pr=1 pw=0 time=54 us c
ost=3 size=57 card=1)
0
1
2
NESTED LOOPS (cr=4 pr=1 pw=0 time=49 us
cost=2 size=23 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr
=2 pr=0 pw=0 time=9 us cost=1 size=9 card=1)
1
1
1
INDEX UNIQUE SCAN I_TRIGGER2 (cr=1 pr=0
pw=0 time=6 us cost=0 size=0 card=1)(object id 163)
0
1
2
INDEX RANGE SCAN I_TRIGGERCOL2 (cr=2 pr=
1 pw=0 time=38 us cost=1 size=14 card=1)(object id 165)
0
1
2
INDEX UNIQUE SCAN I_COL3 (cr=1 pr=0 pw=0
time=3 us cost=0 size=0 card=1)(object id 50)
0
1
2
TABLE ACCESS BY INDEX ROWID COL$ (cr=1 pr=
0 pw=0 time=2 us cost=1 size=34 card=1)
4
5
10
NESTED LOOPS (cr=17 pr=1 pw=0 time=170 us
cost=3 size=57 card=1)
4
6
10
NESTED LOOPS (cr=11 pr=1 pw=0 time=148 us
cost=3 size=57 card=1)
4
6
10
NESTED LOOPS (cr=4 pr=0 pw=0 time=21 us
cost=2 size=23 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr
=2 pr=0 pw=0 time=6 us cost=1 size=9 card=1)
1
1
1
INDEX UNIQUE SCAN I_TRIGGER2 (cr=1 pr=0
pw=0 time=3 us cost=0 size=0 card=1)(object id 163)
4
6
10
INDEX RANGE SCAN I_TRIGGERCOL2 (cr=2 pr=
0 pw=0 time=15 us cost=1 size=14 card=1)(object id 165)
4
6
10
INDEX UNIQUE SCAN I_COL3 (cr=7 pr=1 pw=0
time=85 us cost=0 size=0 card=1)(object id 50)
4
5
10
TABLE ACCESS BY INDEX ROWID COL$ (cr=6 pr=
0 pw=0 time=14 us cost=1 size=34 card=1)
0
0
0
NESTED LOOPS (cr=12 pr=0 pw=0 time=46 us c
ost=3 size=57 card=1)
4
6
10
NESTED LOOPS (cr=11 pr=0 pw=0 time=45 us
cost=3 size=57 card=1)

4
6
10
NESTED LOOPS (cr=4 pr=0 pw=0 time=21 us
cost=2 size=23 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr
=2 pr=0 pw=0 time=6 us cost=1 size=9 card=1)
1
1
1
INDEX UNIQUE SCAN I_TRIGGER2 (cr=1 pr=0
pw=0 time=3 us cost=0 size=0 card=1)(object id 163)
4
6
10
INDEX RANGE SCAN I_TRIGGERCOL2 (cr=2 pr=
0 pw=0 time=10 us cost=1 size=14 card=1)(object id 165)
4
6
10
INDEX UNIQUE SCAN I_COL3 (cr=7 pr=0 pw=0
time=11 us cost=0 size=0 card=1)(object id 50)
0
0
0
TABLE ACCESS BY INDEX ROWID COL$ (cr=1 pr=
0 pw=0 time=7 us cost=1 size=34 card=1)
0
0
0
INDEX RANGE SCAN I_TRIGGERCOL2 (cr=2 pr=0 pw
=0 time=4 us cost=2 size=14 card=1)(object id 165)
0
0
0
NESTED LOOPS (cr=2 pr=0 pw=0 time=6 us cost
=2 size=92 card=4)
0
0
0
TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr=2
pr=0 pw=0 time=5 us cost=1 size=9 card=1)
1
1
1
INDEX UNIQUE SCAN I_TRIGGER2 (cr=1 pr=0 pw
=0 time=2 us cost=0 size=0 card=1)(object id 163)
0
0
0
INDEX RANGE SCAN I_TRIGGERCOL2 (cr=0 pr=0 p
w=0 time=0 us cost=1 size=56 card=4)(object id 165)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
5
0.00
0.00
********************************************************************************
SQL ID: d4dqpg9jp3rk1 Plan Hash: 3797126745
select *
from
DCV_RightsGroupItemGroups WHERE RIGHTSGROUPID = :1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
7
0.00
0.00
0
0
0
0
Execute
7
0.00
0.00
0
0
0
0
Fetch
7
0.00
0.00
0
7
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
21
0.01
0.01
0
7
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 NESTED LOOPS (cr=1 pr=0 pw=0 time=56 us cost=
4 size=62 card=1)
0
0
0 NESTED LOOPS (cr=1 pr=0 pw=0 time=55 us cost
=4 size=62 card=1)
0
0
0
VIEW VW_SQ_1 (cr=1 pr=0 pw=0 time=54 us cos
t=3 size=39 card=1)
0
0
0
HASH GROUP BY (cr=1 pr=0 pw=0 time=52 us co

st=3 size=21 card=1)


0
0
0
TABLE ACCESS BY INDEX ROWID PF_RIGHTSGROUP
ITEMGROUPS (cr=1 pr=0 pw=0 time=13 us cost=2 size=21 card=1)
0
0
0
INDEX RANGE SCAN XIF253PF_RIGHTSGROUPITEM
GROUPS (cr=1 pr=0 pw=0 time=12 us cost=1 size=0 card=1)(object id 20943)
0
0
0
INDEX RANGE SCAN XIF253PF_RIGHTSGROUPITEMGRO
UPS (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 20943)
0
0
0 TABLE ACCESS BY INDEX ROWID PF_RIGHTSGROUPITE
MGROUPS (cr=0 pr=0 pw=0 time=0 us cost=1 size=23 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
7
0.00
0.00
SQL*Net message from client
7
0.00
0.01
********************************************************************************
SQL ID: 403qh10swgfy2 Plan Hash: 3684528750
SELECT SetItemOrder
FROM
PF_ITEMCONTEXT WHERE SubjectKeyID = :1 AND ChapterID = :2 AND PageID = :3
AND SectionID = :4 AND ItemsetID IS NULL AND ChapterIndex = :5 AND
PageIndex = :6 ORDER BY SetItemOrder
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.01
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
0
8
0
20
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.01
0
8
0
20
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max)
---------- ---------- -------------10
10
10
5 size=39 card=1)
10
10
10
0 pw=0 time=32 us cost=4 size=39

Row Source Operation


---------------------------------------------SORT ORDER BY (cr=4 pr=0 pw=0 time=46 us cost=
INDEX RANGE SCAN XAK1PF_ITEMCONTEXT (cr=4 pr=
card=1)(object id 20882)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 2q93zsrvbdw48 Plan Hash: 2874733959
select grantee#,privilege#,nvl(col#,0),max(mod(nvl(option$,0),2))

from
objauth$ where obj#=:1 group by grantee#,privilege#,nvl(col#,0) order by
grantee#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
17
0.00
0.00
0
0
0
0
Fetch
19
0.00
0.00
2
36
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
37
0.00
0.01
2
36
0
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT GROUP BY (cr=3 pr=1 pw=0 time=137 us cost
=4 size=15 card=1)
1
1
1 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=3 pr
=1 pw=0 time=107 us cost=3 size=15 card=1)
1
1
1
INDEX RANGE SCAN I_OBJAUTH1 (cr=2 pr=0 pw=0
time=14 us cost=2 size=0 card=1)(object id 62)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: ftj9uawt4wwzb Plan Hash: 1884964958
select condition
from
cdef$ where rowid=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
176
0.00
0.00
0
0
0
0
Execute
176
0.00
0.00
0
0
0
0
Fetch
176
0.00
0.00
1
352
0
176
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
528
0.00
0.01
1
352
0
176
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

1
1
1 TABLE ACCESS BY USER ROWID CDEF$ (cr=1 pr=0 pw
=0 time=36 us cost=1 size=15 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: grwydz59pu6mc Plan Hash: 3684871272
select text
from
view$ where rowid=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
124
0.00
0.00
0
0
0
0
Execute
124
0.01
0.00
0
0
0
0
Fetch
124
0.00
0.00
17
248
0
124
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
372
0.01
0.01
17
248
0
124
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY USER ROWID VIEW$ (cr=1 pr=0 pw
=0 time=35 us cost=1 size=15 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
17
0.00
0.00
********************************************************************************
SQL ID: 53saa2zkr6wc3 Plan Hash: 3954488388
select intcol#,nvl(pos#,0),col#,nvl(spare1,0)
from
ccol$ where con#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
128
0.00
0.00
0
0
0
0
Fetch
301
0.00
0.00
5
602
0
173
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
430
0.01
0.01
5
602
0
173
Misses in library cache during parse: 1

Misses in library cache during execute: 1


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID CCOL$ (cr=4 pr=1 p
w=0 time=92 us cost=3 size=16 card=1)
1
1
1 INDEX RANGE SCAN I_CCOL1 (cr=3 pr=1 pw=0 time
=93 us cost=2 size=0 card=1)(object id 57)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
5
0.00
0.00
********************************************************************************
SQL ID: g9w9s9uwzhzu0 Plan Hash: 0
Insert into PF_SVECPSTATEHISTORY (SIGRESOURCEREVISIONNUMBER, FROZENSTATE,
MISSINGITEMSSTATE, SIGLANGUAGEID, ORIGINALSTATE, SDVCOMPLETESTATE,
HASDATASTATE, ACTION, SIGRESOURCEID, LOCKEDSTATE, PAGEHISTORYREVISIONNUMBER,
HASQUERIESSTATE, SUBJECTCHAPTERID, STATEHIST, SDVREADYSTATE, PAGEHISTORYID,
BOOKSGN, PAGEREVISIONNUMBER, PAGEID, SDVPARTIALSTATE, SIGNEDSTATE,
NOTDONESTATE, DELETEDDYNAMICFORMSTATE, PAGEINDEX, HASCOMMENTSSTATE,
STARTEDSTATE)
VALUES
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,:19,:20,:21,
:22,:23,:24,:25,:26)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
13
1
22
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
13
1
22
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=1 pr=13 pw=0 time
=6783 us)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
13
0.00
0.00
SQL*Net message to client
1
0.00
0.00

SQL*Net message from client


1
0.00
0.00
********************************************************************************
SQL ID: 2vf7xh0fnhw9k Plan Hash: 2621315234
SELECT PF_SEQ_HISTORY.NEXTVAL
FROM
DUAL
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
2
0.00
0.00
0
0
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
5
0.00
0.00
0
0
0
2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SEQUENCE PF_SEQ_HISTORY (cr=0 pr=0 pw=0 time=
32 us)
1
1
1 FAST DUAL (cr=0 pr=0 pw=0 time=1 us cost=2 s
ize=0 card=1)
********************************************************************************
SQL ID: 8swypbbr0m372 Plan Hash: 893970548
select order#,columns,types
from
access$ where d_obj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
3
0.00
0.00
3
6
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
7
0.00
0.00
3
6
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
0
1 TABLE ACCESS BY INDEX ROWID ACCESS$ (cr=3 pr=2
pw=0 time=3406 us cost=3 size=176 card=4)
1
0
1 INDEX RANGE SCAN I_ACCESS1 (cr=2 pr=1 pw=0 ti

me=3364 us cost=2 size=0 card=4)(object id 108)


Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
********************************************************************************
SQL ID: ajb30azzs6nu5 Plan Hash: 1621430277
select *
from
PF_CHAPTER where ChapterID = 14902 AND ChapterRevisionNumber = (SELECT
MAX(ChapterRevisionNumber) FROM PF_Chapter A WHERE A.ChapterID =
PF_Chapter.ChapterID)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
0
6
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
0
6
0
2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 NESTED LOOPS (cr=3 pr=0 pw=0 time=312 us cost
=2 size=60 card=1)
1
1
1 NESTED LOOPS (cr=2 pr=0 pw=0 time=325 us cos
t=2 size=60 card=1)
1
1
1
VIEW VW_SQ_1 (cr=1 pr=0 pw=0 time=316 us co
st=1 size=26 card=1)
1
1
1
HASH GROUP BY (cr=1 pr=0 pw=0 time=312 us c
ost=1 size=15 card=1)
6
6
6
INDEX RANGE SCAN XPKPF_CHAPTER (cr=1 pr=0
pw=0 time=21 us cost=1 size=90 card=6)(object id 20823)
1
1
1
INDEX UNIQUE SCAN XPKPF_CHAPTER (cr=1 pr=0 p
w=0 time=6 us cost=0 size=0 card=1)(object id 20823)
1
1
1 TABLE ACCESS BY INDEX ROWID PF_CHAPTER (cr=1
pr=0 pw=0 time=8 us cost=1 size=34 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 2b77gt8ah2pnt Plan Hash: 0
BEGIN REVIEW_SCHEMA.UPDATE_RT_CONTROLDATA(:1,:2,:3,:4); END;

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
0
0
1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: f711myt0q6cma Plan Hash: 0
insert into sys.aud$( sessionid,entryid,statement,ntimestamp#, userid,
userhost,terminal,action#,returncode, logoff$lread,logoff$pread,
logoff$lwrite,logoff$dead, logoff$time,comment$text,spare1,clientid,
sessioncpu,proxy$sid,user$guid, instance#,process#,auditid,dbid)
values
(:1,:2,:3,SYS_EXTRACT_UTC(SYSTIMESTAMP),
:4,:5,:6,:7,:8,
:9,:10,:11,
:12,
cast(SYS_EXTRACT_UTC(systimestamp) as date),:13,:14,:15,:16,:17,
:18,
:19,:20,:21,:22)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
1
2
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
1
2
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=1 pr=0 pw=0 time=
196 us)
********************************************************************************
SQL ID: adhc1r4vwsbb6 Plan Hash: 3790286543
INSERT INTO RT_CONTEXT_STATE SELECT RV.*, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP)
AS DATE), :B2 , CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM
RV_CONTEXT_STATE RV WHERE TRANSACTIONID=:B1

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.00
0.00
0
10
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
10
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=10 pr=0 pw=0 time
=26 us)
0
0
0 NESTED LOOPS (cr=10 pr=0 pw=0 time=18 us cos
t=8 size=145 card=1)
0
0
0
NESTED LOOPS (cr=10 pr=0 pw=0 time=18 us co
st=8 size=145 card=3)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIONHIST
ORY (cr=4 pr=0 pw=0 time=11 us cost=4 size=294 card=3)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHISTORY
(cr=3 pr=0 pw=0 time=7 us cost=3 size=0 card=3)(object id 20940)
0
0
0
INDEX UNIQUE SCAN XPKPF_CONTEXTSTATEHISTORY
(cr=6 pr=0 pw=0 time=6 us cost=1 size=0 card=1)(object id 20830)
0
0
0
SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 us)
0
0
0
FIRST ROW (cr=0 pr=0 pw=0 time=0 us cost
=3 size=16 card=1)
0
0
0
INDEX RANGE SCAN (MIN/MAX) XPKPF_CONTEXT
STATEHISTORY (cr=0 pr=0 pw=0 time=0 us cost=3 size=16 card=1)(object id 20830)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_CONTEXTSTATEH
ISTORY (cr=0 pr=0 pw=0 time=0 us cost=2 size=47 card=1)
********************************************************************************
SQL ID: 47y3mqvyhpkvs Plan Hash: 1888265482
SELECT obj_type, plan_id, name, flags, last_executed
FROM
sqlobj$
WHERE signature = :1
AND category = :2
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
1
4
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
1
4
0
2
Misses in library cache during parse: 1

Misses in library cache during execute: 1


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 INDEX RANGE SCAN SQLOBJ$_PKEY (cr=2 pr=0 pw=0
time=2750 us cost=1 size=57 card=1)(object id 206)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------Disk file operations I/O
1
0.00
0.00
db file sequential read
1
0.00
0.00
log file sync
2
0.00
0.00
********************************************************************************
SQL ID: dg3mu4m9w5udn Plan Hash: 0
BEGIN REVIEW_SCHEMA.UPDATE_RT_ACTIVATED_FORMS(:1,:2,:3,:4); END;
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
2
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
0
0
0
2
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: gb0hpfg70djt9 Plan Hash: 0
BEGIN REVIEW_SCHEMA.UPDATE_RT_ITEMSTATE(:1,:2,:3,:4); END;
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
0
0
1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 7c724bg3spg68 Plan Hash: 171408657
Update PF_SUBJECTVECHAPTERPAGE Set FROZENSTATE= :1, STATE= :2,
MISSINGITEMSSTATE= :3, SDVCOMPLETESTATE= :4, HASDATASTATE= :5,
ORIGINALSTATE= :6, NEEDSRECALCSTATE= :7, LOCKEDSTATE= :8, NEEDSUNSIGNSTATE=
:9, HASQUERIESSTATE= :10, SUBJECTCHAPTERID= :11, FORMSTARTDATE= :12,
SDVCOMPLETE= :13, SDVREADYSTATE= :14, PAGEREPEATKEY= :15,
PAGEREVISIONNUMBER= :16, PAGEID= :17, SDVPARTIALSTATE= :18, SIGNEDSTATE=
:19, NOTDONESTATE= :20, DELETEDDYNAMICFORMSTATE= :21, PAGEINDEX= :22,
HASCOMMENTSSTATE= :23, STARTEDSTATE= :24
where
SubjectChapterID = 6265192 AND PageID = 11715 AND PageIndex=1.000
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
3
5
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
3
5
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max)
---------- ---------- -------------0
0
0
0 time=6476 us)
1
1
1
cr=3 pr=0 pw=0 time=16 us cost=3

Row Source Operation


---------------------------------------------UPDATE PF_SUBJECTVECHAPTERPAGE (cr=8 pr=5 pw=
INDEX RANGE SCAN XPKPF_SUBJECTVECHAPTERPAGE (
size=74 card=1)(object id 20978)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: djn412u4ztb4t Plan Hash: 0
BEGIN DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,
:13,:14,:15);
END;
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------

Parse
6
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
6
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
12
0.00
0.00
0
0
0
6
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
6
0.00
0.00
SQL*Net message from client
6
0.00
0.00
********************************************************************************
SQL ID: 5n1fs4m2n2y0r Plan Hash: 299250003
select pos#,intcol#,col#,spare1,bo#,spare2,spare3
from
icol$ where obj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
60
0.00
0.00
0
0
0
0
Fetch
177
0.00
0.00
3
354
0
117
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
238
0.00
0.00
3
354
0
117
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID ICOL$ (cr=4 pr=0 p
w=0 time=43 us cost=2 size=54 card=2)
1
1
1 INDEX RANGE SCAN I_ICOL1 (cr=3 pr=0 pw=0 time
=41 us cost=1 size=0 card=2)(object id 42)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
********************************************************************************
SQL ID: gx4mv66pvj3xz Plan Hash: 1932954096
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,nvl(enabled,0),
rowid,cols,nvl(defer,0),mtime,nvl(spare1,0),spare2,spare3
from
cdef$ where obj#=:1

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
45
0.00
0.00
0
0
0
0
Fetch
180
0.00
0.00
1
360
0
135
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
226
0.00
0.00
1
360
0
135
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------5
5
5 TABLE ACCESS BY INDEX ROWID CDEF$ (cr=12 pr=0
pw=0 time=15 us cost=2 size=245 card=5)
5
5
5 INDEX RANGE SCAN I_CDEF2 (cr=7 pr=0 pw=0 time
=30 us cost=1 size=0 card=5)(object id 54)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 96g93hntrzjtr Plan Hash: 2239883476
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#,
sample_size, minimum, maximum, distcnt, lowval, hival, density, col#,
spare1, spare2, avgcln
from
hist_head$ where obj#=:1 and intcol#=:2
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
37
0.00
0.00
0
0
0
0
Fetch
37
0.00
0.00
8
108
0
34
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
75
0.00
0.00
8
108
0
34
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: RULE
Parsing user id: SYS (recursive depth: 3)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID HIST_HEAD$ (cr=3 p
r=1 pw=0 time=137 us)
1
1
1 INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=2 pr=0
pw=0 time=37 us)(object id 450)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
8
0.00
0.00
********************************************************************************
SQL ID: 1mc9kn56ugjzq Plan Hash: 415205717
SELECT VALUE
FROM
SYS.NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_CHARACTERSET'
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
3
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
0
3
0
1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS FULL PROPS$ (cr=3 pr=0 pw=0 time=
42 us cost=2 size=28 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 1uadp3jdf9ktc Plan Hash: 4099216406
SELECT DISTINCT SetItemOrder
FROM
PF_ITEMCONTEXT WHERE SubjectKeyID = :1 AND ChapterID = :2 AND PageID = :3
AND SectionID = :4 AND ItemID = :5 AND ChapterIndex = :6 AND PageIndex = :7
ORDER BY SetItemOrder
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
0
8
0
20
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
0
8
0
20
Misses in library cache during parse: 1

Misses in library cache during execute: 1


Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max)
---------- ---------- -------------10
10
10
size=41 card=1)
10
10
10
0 pw=0 time=55 us cost=4 size=41

Row Source Operation


---------------------------------------------SORT UNIQUE (cr=4 pr=0 pw=0 time=66 us cost=5
INDEX RANGE SCAN XAK1PF_ITEMCONTEXT (cr=4 pr=
card=1)(object id 20882)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 2j5nspmdjs488 Plan Hash: 0
SELECT QUERYID, QUERYDATA, RULEITEMID, REISSUED, CONFLICTSTATE, QUERYSTATE,
QUERYTYPE, QUERYGROUP, QUERYREVISIONNUMBER, CONTEXTID
FROM
PF_QUERY
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: fngg0vqhsbfwd Plan Hash: 2459890116
SELECT ARGUMENT, OVERLOAD#, POSITION# POSITION, TYPE# TYPE, NVL(CHARSETID,0)
CHARSETID, NVL(CHARSETFORM,0) CHARSETFORM, NVL(DEFAULT#,0) DEFAULT#,
NVL(IN_OUT,0) IN_OUT, NVL(LEVEL#,0) LEVEL#, NVL(LENGTH,0) LENGTH,
NVL(PRECISION#,0) PRECISION, DECODE(TYPE#,1,0,96,0,NVL(SCALE,0)) SCALE,
NVL(RADIX,0) RADIX, DECODE(TYPE#,1,NVL(SCALE,0),96,NVL(SCALE,0),0)
CHARLENGTH
FROM
ARGUMENT$ WHERE OBJ# = :B2 AND PROCEDURE$ = :B1 ORDER BY OBJ#,PROCEDURE$,
OVERLOAD#,SEQUENCE#

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
0
Fetch
6
0.00
0.00
4
18
0
24
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
13
0.00
0.00
4
18
0
24
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------4
4
4 SORT ORDER BY (cr=3 pr=3 pw=0 time=231 us cost
=4 size=66 card=1)
4
4
4 TABLE ACCESS BY INDEX ROWID ARGUMENT$ (cr=3 p
r=3 pw=0 time=190 us cost=3 size=66 card=1)
4
4
4
INDEX RANGE SCAN I_ARGUMENT1 (cr=2 pr=2 pw=0
time=125 us cost=2 size=0 card=1)(object id 233)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
4
0.00
0.00
********************************************************************************
SELECT *
FROM (
SELECT ROWNUM AS XNUM, MAIN.*, COUNT(ROWNUM) OVER () AS TOTALROWS
FROM ( SELECT * FROM DCV_QueryListings
WHERE SiteID = 141280 AND LanguageID = 2 AND (QueryState = 1) AND NOT (ItemID I
N (12461, 11009227, 6494, 10200, 6817, 14620, 12342, 1760953, 10843, 7103, 8106,
7630, 12492, 10809, 13186, 7678, 12761, 14852, 8358, 6505, 11197, 6995, 14288,
10956, 10684, 7573, 14764, 9545, 6074, 10817, 11191, 10270, 10100, 8094, 6190, 1
3398, 12480, 7567, 6479, 10831, 8128, 14228, 7598, 12749, 13463, 6612, 11202, 68
33, 8887, 11879, 11182, 14616, 7561, 14222, 10839, 8102, 12488, 10210, 6606, 148
48, 7555, 10139, 13182, 12757, 8269, 6161, 8878, 824986997, 6617, 11884, 11085,
10847, 14536, 8110, 8892, 13261, 7549, 7393, 7580, 13190, 7716, 12765, 842813, 1
1657, 6812, 6404, 12354, 843014, 10107, 13215, 10835, 11702, 14541, 8846, 8336,
8098, 11009301, 7418, 12535, 12484, 6500, 14218, 13195, 7245, 7007, 13178, 84300
8, 7296) OR (ItemSetID IN (12461, 11009227, 6494, 10200, 6817, 14620, 12342, 176
0953, 10843, 7103, 8106, 7630, 12492, 10809, 13186, 7678, 12761, 14852, 8358, 65
05, 11197, 6995, 14288, 10956, 10684, 7573, 14764, 9545, 6074, 10817, 11191, 102
70, 10100, 8094, 6190, 13398, 12480, 7567, 6479, 10831, 8128, 14228, 7598, 12749
, 13463, 6612, 11202, 6833, 8887, 11879, 11182, 14616, 7561, 14222, 10839, 8102,
12488, 10210, 6606, 14848, 7555, 10139, 13182, 12757, 8269, 6161, 8878, 8249869
97, 6617, 11884, 11085, 10847, 14536, 8110, 8892, 13261, 7549, 7393, 7580, 13190
, 7716, 12765, 842813, 11657, 6812, 6404, 12354, 843014, 10107, 13215, 10835, 11
702, 14541, 8846, 8336, 8098, 11009301, 7418, 12535, 12484, 6500, 14218, 13195,
7245, 7007, 13178, 843008, 7296) AND ItemSetID IS NOT NULL))
ORDER BY SiteMnemonic ,Patient,ChapterName || ChapterIndex,PageMnemonic || PageI
ndex,SectionID, Age ) MAIN
) WHERE (XNUM >= :1 and XNUM <= :2)

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
11
0.00
0.00
0
982
0
19
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
13
0.00
0.00
0
982
0
19
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------19
19
19 FILTER (cr=982 pr=0 pw=0 time=4359 us)
19
19
19 VIEW (cr=982 pr=0 pw=0 time=4355 us cost=23
size=7107 card=1)
19
19
19
WINDOW BUFFER (cr=982 pr=0 pw=0 time=4348 us
cost=23 size=7081 card=1)
19
19
19
COUNT (cr=982 pr=0 pw=0 time=4367 us)
19
19
19
VIEW (cr=982 pr=0 pw=0 time=4365 us cost=
23 size=7081 card=1)
19
19
19
SORT ORDER BY (cr=982 pr=0 pw=0 time=4345
us cost=23 size=353 card=1)
19
19
19
NESTED LOOPS (cr=982 pr=0 pw=0 time=384
0 us cost=20 size=353 card=1)
38
38
38
NESTED LOOPS (cr=941 pr=0 pw=0 time=33
85 us cost=20 size=353 card=1)
38
38
38
NESTED LOOPS (cr=932 pr=0 pw=0 time=3
195 us cost=19 size=342 card=1)
19
19
19
NESTED LOOPS (cr=898 pr=0 pw=0 time=
3277 us cost=16 size=318 card=1)
19
19
19
NESTED LOOPS (cr=860 pr=0 pw=0 time
=3215 us cost=15 size=302 card=1)
19
19
19
NESTED LOOPS (cr=837 pr=0 pw=0 tim
e=3133 us cost=14 size=277 card=1)
19
19
19
HASH JOIN (cr=814 pr=0 pw=0 time=
3053 us cost=13 size=251 card=1)
19
19
19
NESTED LOOPS (cr=813 pr=0 pw=0 t
ime=523 us cost=12 size=460 card=2)
1330
1330
1330
NESTED LOOPS (cr=100 pr=0 pw=0
time=419 us cost=12 size=460 card=9)
52
52
52
NESTED LOOPS (cr=47 pr=0 pw=0
time=99 us cost=5 size=92 card=1)
1
1
1
NESTED LOOPS (cr=6 pr=0 pw=0
time=32 us cost=3 size=64 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID P
F_SITEVOLUMEEDITION_CUR (cr=3 pr=0 pw=0 time=21 us cost=2 size=13 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SITE
VOLUMEEDITION_CUR (cr=2 pr=0 pw=0 time=14 us cost=1 size=0 card=1)(object id 223
09)
1
1
1
TABLE ACCESS BY INDEX ROWID P
F_SITE_CUR (cr=3 pr=0 pw=0 time=10 us cost=1 size=51 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_SITE
_CUR (cr=2 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 22306)
52
52
52
TABLE ACCESS BY INDEX ROWID PF
_PATIENT_CUR (cr=41 pr=0 pw=0 time=68 us cost=2 size=28 card=1)
52
52
52
INDEX RANGE SCAN XIF34PF_PATI

ENT_CUR (cr=2 pr=0 pw=0 time=12 us cost=1 size=0 card=1)(object id 22287)


1330
1330
1330
INDEX RANGE SCAN XIE5PF_QUERY_L
ISTING (cr=53 pr=0 pw=0 time=347 us cost=1 size=0 card=9)(object id 22299)
19
19
19
TABLE ACCESS BY INDEX ROWID PF_Q
UERY_LISTING (cr=713 pr=0 pw=0 time=1944 us cost=7 size=276 card=2)
121
121
121
INDEX FULL SCAN XPKPF_VOLUMEEDITI
ONCHAPTER (cr=1 pr=0 pw=0 time=6 us cost=1 size=2541 card=121)(object id 21033)
19
19
19
MAT_VIEW ACCESS BY INDEX ROWID PF_
IM_CHAPTER (cr=23 pr=0 pw=0 time=81 us cost=1 size=26 card=1)
19
19
19
INDEX UNIQUE SCAN XPKPF_IM_CHAPTE
R (cr=4 pr=0 pw=0 time=40 us cost=0 size=0 card=1)(object id 22319)
19
19
19
MAT_VIEW ACCESS BY INDEX ROWID PF_I
M_PAGE (cr=23 pr=0 pw=0 time=64 us cost=1 size=25 card=1)
19
19
19
INDEX UNIQUE SCAN XPKPF_IM_PAGE__P
K (cr=4 pr=0 pw=0 time=26 us cost=0 size=0 card=1)(object id 22329)
19
19
19
TABLE ACCESS BY INDEX ROWID PF_USER
(cr=38 pr=0 pw=0 time=85 us cost=1 size=16 card=1)
19
19
19
INDEX UNIQUE SCAN XPKPF_USER (cr=19
pr=0 pw=0 time=53 us cost=0 size=0 card=1)(object id 21024)
38
38
38
TABLE ACCESS BY INDEX ROWID PF_PATIEN
TNUMBER_CUR (cr=34 pr=0 pw=0 time=317 us cost=3 size=48 card=2)
38
38
38
INDEX RANGE SCAN XAK52PF_PATIENTNUM_
CUR (cr=21 pr=0 pw=0 time=120 us cost=1 size=0 card=2)(object id 22291)
38
38
38
INDEX UNIQUE SCAN XPKPF_SEQUENCESET (c
r=9 pr=0 pw=0 time=74 us cost=0 size=0 card=1)(object id 20958)
19
19
19
TABLE ACCESS BY INDEX ROWID PF_SEQUENCE
SET (cr=41 pr=0 pw=0 time=101 us cost=1 size=11 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ENTITYM
APPING (cr=3 pr=0 pw=0 time=6 us cost=2 size=40 card=1)
1
1
1
INDEX UNIQUE SCAN XPKPF_ENTITYMAPPING
(cr=2 pr=0 pw=0 time=4 us cost=1 size=0 card=1)(object id 20858)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
11
0.00
0.00
SQL*Net message from client
11
0.00
0.00
********************************************************************************
SQL ID: drdjn4mbba0y2 Plan Hash: 1517914349
select *
from
DCV_QUERYAUDITCOMMENT where KeyID=:1 AND FormsetID=:2 AND FormsetIndex=:3
AND FormID=:4AND PageIndex=:5 AND SectionID=:6 AND ItemID=:7 AND
SetItemOrder=:8
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
0
34
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
0
34
0
2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44

Number of plan statistics captured: 2


Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT GROUP BY (cr=4 pr=0 pw=0 time=34 us)
1
1
1 TABLE ACCESS BY INDEX ROWID PF_ITEMDATA (cr=4
pr=0 pw=0 time=16 us cost=4 size=32 card=1)
1
1
1
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=3 pr=0
pw=0 time=8 us cost=3 size=0 card=1)(object id 20893)
1
1
1 HASH GROUP BY (cr=13 pr=0 pw=0 time=133 us cos
t=14 size=84 card=1)
1
1
1 NESTED LOOPS OUTER (cr=13 pr=0 pw=0 time=66 u
s cost=13 size=84 card=1)
1
1
1
NESTED LOOPS OUTER (cr=9 pr=0 pw=0 time=56 u
s cost=8 size=70 card=1)
1
1
1
NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=38
us cost=6 size=58 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEXT
(cr=4 pr=0 pw=0 time=18 us cost=4 size=51 card=1)
1
1
1
INDEX RANGE SCAN XIE3PF_ITEMCONTEXT (cr=3
pr=0 pw=0 time=12 us cost=3 size=0 card=1)(object id 20886)
1
1
1
INDEX RANGE SCAN XIF21PF_ITEMDATA (cr=3 pr
=0 pw=0 time=18 us cost=2 size=7 card=1)(object id 20893)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_COMMENT (cr=
2 pr=0 pw=0 time=16 us cost=2 size=12 card=1)
0
0
0
INDEX RANGE SCAN XIF22PF_COMMENT (cr=2 pr=
0 pw=0 time=11 us cost=1 size=0 card=1)(object id 20827)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=4 p
r=0 pw=0 time=8 us cost=5 size=42 card=3)
1
1
1
INDEX RANGE SCAN XIF236PF_QUERY (cr=3 pr=0
pw=0 time=5 us cost=2 size=0 card=3)(object id 20929)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.00
0.00
********************************************************************************
SQL ID: 6gnr2avacgasd Plan Hash: 680399055
UPDATE PF_REVISIONHISTORY SET REVIEWSCHEMAUPDATED=
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) as DATE)
WHERE
REVIEWSCHEMAUPDATED IS NULL AND TRANSACTIONID IN (SELECT TRANSACTIONID FROM
PF_TRANSACTIONHISTORY WHERE INTERNALGUID=:1)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
3
8
4
2
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
3
8
4
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1

Optimizer mode: ALL_ROWS


Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 UPDATE PF_REVISIONHISTORY (cr=8 pr=3 pw=0 tim
e=2782 us)
2
2
2 NESTED LOOPS (cr=8 pr=3 pw=0 time=2650 us co
st=6 size=61 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_TRANSACTIONHI
STORY (cr=4 pr=3 pw=0 time=2618 us cost=3 size=46 card=1)
1
1
1
INDEX UNIQUE SCAN XAK1PF_TRANSACTIONHISTORY
(cr=3 pr=2 pw=0 time=2530 us cost=2 size=0 card=1)(object id 21015)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIONHISTO
RY (cr=4 pr=0 pw=0 time=30 us cost=3 size=15 card=1)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHISTORY (
cr=3 pr=0 pw=0 time=21 us cost=2 size=0 card=3)(object id 20940)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 3w4qs0tbpmxr6 Plan Hash: 1224215794
select con#,obj#,rcon#,enabled,nvl(defer,0),spare2,spare3
from
cdef$ where robj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
45
0.00
0.00
0
0
0
0
Fetch
51
0.00
0.00
0
57
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
97
0.00
0.00
0
57
0
6
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID CDEF$ (cr=1 pr=0 p
w=0 time=22 us cost=2 size=116 card=4)
0
0
0 INDEX RANGE SCAN I_CDEF3 (cr=1 pr=0 pw=0 time
=22 us cost=1 size=0 card=1)(object id 55)
********************************************************************************

SQL ID: a9fcyp40k05ta Plan Hash: 2031735452


UPDATE RT_SUBJECTVISIT T SET (T.VISIT_LAST_ENTRY, T.MODIFIEDDATETIME,
T.MODIFIEDBYUSERID)= (SELECT GREATEST(MAX(PFTIMESTAMP),T.VISIT_LAST_ENTRY),
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM PF_REVISIONHISTORY RH
WHERE
RH.TRANSACTIONID=:B1 ) WHERE SUBJECTVISITID IN (SELECT DISTINCT
SUBJECTVISITID FROM RT_FORMHISTORY_REVS WHERE TRANSACTIONID=:B1 AND
BITAND(STATEHIST,8192) <> BITAND(ORIGINALSTATE,8192))
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
3
3
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
3
3
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 UPDATE RT_SUBJECTVISIT (cr=3 pr=3 pw=0 time=9
16 us)
0
0
0 NESTED LOOPS (cr=3 pr=3 pw=0 time=913 us cos
t=8 size=49 card=1)
0
0
0
NESTED LOOPS (cr=3 pr=3 pw=0 time=912 us co
st=8 size=49 card=1)
0
0
0
SORT UNIQUE (cr=3 pr=3 pw=0 time=910 us cos
t=5 size=22 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_FORMHISTORY
_REVS (cr=3 pr=3 pw=0 time=903 us cost=5 size=22 card=1)
0
0
0
INDEX RANGE SCAN IX_FH_REVS_TRANSID (cr=3
pr=3 pw=0 time=900 us cost=3 size=0 card=2)(object id 22586)
0
0
0
INDEX RANGE SCAN IRI_SUBJECTVISIT_01 (cr=0
pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 22574)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_SUBJECTVISIT
(cr=0 pr=0 pw=0 time=0 us cost=2 size=27 card=1)
0
0
0 SORT AGGREGATE (cr=0 pr=0 pw=0 time=0 us)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_REVISIONHISTO
RY (cr=0 pr=0 pw=0 time=0 us cost=4 size=45 card=3)
0
0
0
INDEX RANGE SCAN XIF705PF_REVISIONHISTORY (
cr=0 pr=0 pw=0 time=0 us cost=3 size=0 card=3)(object id 20940)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
********************************************************************************
SQL ID: c96h13wbuyy2x Plan Hash: 3086401951
SELECT SUBJECTCHAPTERID

FROM
PF_SUBJECTVECHAPTER WHERE SUBJECTCHAPTERID = :B1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
3
3
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
3
3
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 INDEX RANGE SCAN XPKPF_SUBJECTVECHAPTER (cr=3
pr=3 pw=0 time=3095 us cost=3 size=7 card=1)(object id 20976)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
********************************************************************************
SQL ID: a9u0s3g93f47z Plan Hash: 515562855
select decode(u.type#, 2, u.ext_username, u.name), o.name,
t.update$,
t.insert$, t.delete$, t.enabled,
decode(bitand(t.property, 8192),
8192, 1, 0),
decode(bitand(t.property, 65536), 65536, 1, 0),
decode(bitand(t.property, 131072), 131072, 1, 0),
(select o.name
from
obj$ o
where o.obj# = u.spare2 and o.type# =57) from sys.obj$ o,
sys.user$ u, sys.trigger$ t, sys.obj$ bo where t.baseobject=bo.obj# and
bo.name = :1 and bo.spare3 = :2 and bo.namespace = 1 and t.obj#=o.obj#
and o.owner#=u.user# and o.type# = 12 and bitand(property,16)=0 and
bitand(property,8)=0 order by o.obj#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
21
0.00
0.00
0
0
0
0
Execute
21
0.00
0.00
0
0
0
0
Fetch
27
0.00
0.00
2
93
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
69
0.00
0.00
2
93
0
6
Misses in library cache during parse: 0
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- ----------------------------------------------

----0
0
0 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=0 pr=0 pw
=0 time=2 us cost=3 size=28 card=1)
0
0
0 INDEX RANGE SCAN I_OBJ1 (cr=0 pr=0 pw=0 time=
1 us cost=2 size=0 card=1)(object id 36)
2
1
2 SORT ORDER BY (cr=8 pr=1 pw=0 time=182 us cost
=8 size=189 card=1)
2
1
2 NESTED LOOPS (cr=8 pr=1 pw=0 time=158 us cos
t=7 size=189 card=1)
2
1
2
NESTED LOOPS (cr=6 pr=1 pw=0 time=137 us co
st=6 size=87 card=1)
2
1
2
NESTED LOOPS (cr=4 pr=0 pw=0 time=82 us co
st=4 size=56 card=1)
1
1
1
INDEX RANGE SCAN I_OBJ5 (cr=2 pr=0 pw=0 ti
me=48 us cost=2 size=30 card=1)(object id 40)
2
1
2
TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr=2
pr=0 pw=0 time=32 us cost=2 size=52 card=2)
2
1
2
INDEX RANGE SCAN I_TRIGGER1 (cr=1 pr=0 pw
=0 time=12 us cost=0 size=0 card=2)(object id 162)
2
1
2
TABLE ACCESS BY INDEX ROWID OBJ$ (cr=2 pr=0
pw=0 time=53 us cost=2 size=31 card=1)
2
1
2
INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 ti
me=16 us cost=1 size=0 card=1)(object id 36)
2
1
2
TABLE ACCESS CLUSTER USER$ (cr=2 pr=0 pw=0 t
ime=20 us cost=1 size=102 card=1)
2
1
2
INDEX UNIQUE SCAN I_USER# (cr=1 pr=0 pw=0 t
ime=8 us cost=0 size=0 card=1)(object id 11)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 6aq34nj2zb2n7 Plan Hash: 2874733959
select col#, grantee#, privilege#,max(mod(nvl(option$,0),2))
from
objauth$ where obj#=:1 and col# is not null group by privilege#, col#,
grantee# order by col#, grantee#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
17
0.00
0.00
0
0
0
0
Fetch
17
0.00
0.00
2
34
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
35
0.00
0.00
2
34
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

0
0
0 SORT GROUP BY (cr=2 pr=1 pw=0 time=122 us cost
=4 size=15 card=1)
0
0
0 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=2 pr
=1 pw=0 time=108 us cost=3 size=15 card=1)
0
0
0
INDEX RANGE SCAN I_OBJAUTH1 (cr=2 pr=1 pw=0
time=105 us cost=2 size=0 card=1)(object id 62)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 15d4f6ns8kwds Plan Hash: 2043078473
UPDATE RT_ITEMDATA_CONTEXT T SET (FORMSTATE, FORMDELETED, TRANSACTIONID,
MODIFIEDDATETIME, MODIFIEDBYUSERID) = (SELECT STATEHIST, DELETEDSTATE, :B1 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 FROM RT_FORMHISTORY_REVS
WHERE
TRANSACTIONID=:B1 AND SUBJECTVISITID=T.SUBJECTVISITID AND FORMID=T.FORMID
AND FORMINDEX=T.FORMINDEX AND DELETEDSTATE<>PDELETEDSTATE) WHERE
(SUBJECTVISITID, FORMID, FORMINDEX) IN (SELECT SUBJECTVISITID, FORMID,
FORMINDEX FROM RT_FORMHISTORY_REVS WHERE TRANSACTIONID=:B1 AND
DELETEDSTATE<>PDELETEDSTATE)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
4
0
0
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
4
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 UPDATE RT_ITEMDATA_CONTEXT (cr=4 pr=0 pw=0 ti
me=50 us)
0
0
0 NESTED LOOPS (cr=4 pr=0 pw=0 time=27 us cost
=9 size=87 card=1)
0
0
0
SORT UNIQUE (cr=4 pr=0 pw=0 time=26 us cost=
5 size=29 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_FORMHISTORY_
REVS (cr=4 pr=0 pw=0 time=20 us cost=5 size=29 card=1)
1
1
1
INDEX RANGE SCAN IX_FH_REVS_TRANSID (cr=3
pr=0 pw=0 time=12 us cost=3 size=0 card=2)(object id 22586)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_4 (cr=0
pr=0 pw=0 time=0 us cost=2 size=58 card=1)(object id 22409)
0
0
0 TABLE ACCESS BY INDEX ROWID RT_FORMHISTORY_RE
VS (cr=0 pr=0 pw=0 time=0 us cost=4 size=33 card=1)
0
0
0
INDEX RANGE SCAN IX_FH_REVS_TRANSID2 (cr=0 p
r=0 pw=0 time=0 us cost=3 size=0 card=1)(object id 22587)

********************************************************************************
SQL ID: g13dg3dgc5vzv Plan Hash: 3058150896
select STATE
from
PF_ITEMCONTEXT where SubjectKeyID = :1 AND ChapterID = :2 AND PageID = :3
AND SectionID = :4 AND ItemID = :5 AND SetItemOrder = :6 AND ChapterIndex =
:7 AND PageIndex = :8
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
4
0.00
0.00
0
0
0
0
Execute
4
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
0
20
0
4
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
16
0.00
0.00
0
20
0
4
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_ITEMCONTEXT (cr
=5 pr=0 pw=0 time=22 us cost=4 size=43 card=1)
1
1
1 INDEX RANGE SCAN XIE3PF_ITEMCONTEXT (cr=4 pr=
0 pw=0 time=24 us cost=3 size=0 card=1)(object id 20886)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
8
0.00
0.00
SQL*Net message from client
8
0.00
0.01
********************************************************************************
SQL ID: 9uhzrmackjzaj Plan Hash: 1580030003
UPDATE PF_SESSION SET CreationDateTime = :1
WHERE
SESSIONKEY = :2
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
10
0.00
0.00
0
0
0
0
Execute
10
0.00
0.00
0
10
30
10
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
20
0.00
0.00
0
10
30
10
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS

Parsing user id: 44


Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 UPDATE PF_SESSION (cr=1 pr=0 pw=0 time=62 us)
1
1
1 INDEX UNIQUE SCAN XPKPF_SESSION (cr=1 pr=0 pw
=0 time=6 us cost=0 size=103 card=1)(object id 20963)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------log file sync
10
0.00
0.00
SQL*Net message to client
10
0.00
0.00
SQL*Net message from client
10
0.00
0.00
********************************************************************************
SQL ID: 1gu8t96d0bdmu Plan Hash: 2035254952
select t.ts#,t.file#,t.block#,nvl(t.bobj#,0),nvl(t.tab#,0),t.intcols,
nvl(t.clucols,0),t.audit$,t.flags,t.pctfree$,t.pctused$,t.initrans,
t.maxtrans,t.rowcnt,t.blkcnt,t.empcnt,t.avgspc,t.chncnt,t.avgrln,
t.analyzetime,t.samplesize,t.cols,t.property,nvl(t.degree,1),
nvl(t.instances,1),t.avgspc_flb,t.flbcnt,t.kernelcols,nvl(t.trigflag, 0),
nvl(t.spare1,0),nvl(t.spare2,0),t.spare4,t.spare6,ts.cachedblk,ts.cachehit,
ts.logicalread
from
tab$ t, tab_stats$ ts where t.obj#= :1 and t.obj# = ts.obj# (+)
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
2
0.00
0.00
1
8
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
5
0.00
0.00
1
8
0
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 MERGE JOIN OUTER (cr=4 pr=0 pw=0 time=100 us c
ost=3 size=183 card=1)
1
1
1 TABLE ACCESS CLUSTER TAB$ (cr=3 pr=0 pw=0 tim
e=13 us cost=2 size=144 card=1)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 tim
e=7 us cost=1 size=0 card=1)(object id 3)
0
0
0 BUFFER SORT (cr=1 pr=0 pw=0 time=86 us cost=1
size=39 card=1)
0
0
0
TABLE ACCESS BY INDEX ROWID TAB_STATS$ (cr=1
pr=0 pw=0 time=19 us cost=1 size=39 card=1)
0
0
0
INDEX UNIQUE SCAN I_TAB_STATS$_OBJ# (cr=1 p

r=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 454)


Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 2bqx89jm7c3g4 Plan Hash: 0
SELECT PFTIMESTAMP, USERID, INFORMVERSION, INSERTTIMESTAMP, TRANSACTIONID,
EXTERNALGUID, SOURCEMACHINE, INTERNALGUID, TYPE, TRANSACTIONREVISIONNUMBER
FROM
PF_TRANSACTIONHISTORY
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: g3wrkmxkxzhf2 Plan Hash: 749386351
select cols,audit$,textlength,intcols,property,flags,rowid
from
view$ where obj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
2
3
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
2
3
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

1
1
1 TABLE ACCESS BY INDEX ROWID VIEW$ (cr=3 pr=2 p
w=0 time=227 us cost=2 size=58 card=1)
1
1
1 INDEX UNIQUE SCAN I_VIEW1 (cr=2 pr=1 pw=0 tim
e=135 us cost=1 size=0 card=1)(object id 75)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 3ktacv9r56b51 Plan Hash: 4184428695
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_obj#,
nvl(property,0),subname,type#,d_attrs
from
dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
4
12
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
4
12
0
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT ORDER BY (cr=6 pr=2 pw=0 time=270 us cost
=10 size=327 card=3)
1
1
1 NESTED LOOPS OUTER (cr=6 pr=2 pw=0 time=255 u
s cost=9 size=327 card=3)
1
1
1
TABLE ACCESS BY INDEX ROWID DEPENDENCY$ (cr=
3 pr=2 pw=0 time=234 us cost=3 size=93 card=3)
1
1
1
INDEX RANGE SCAN I_DEPENDENCY1 (cr=2 pr=1 p
w=0 time=95 us cost=2 size=0 card=3)(object id 106)
1
1
1
TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=0
pw=0 time=16 us cost=2 size=78 card=1)
1
1
1
INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 tim
e=10 us cost=1 size=0 card=1)(object id 36)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
4
0.00
0.00
********************************************************************************
SQL ID: 78rsn55xk6prc Plan Hash: 0
SELECT USERID, BROWSERTYPE, SESSIONKEY, BROWSERLANGUAGE, BROWSERCOLOR, CSRFID,

USERLANGUAGEID, CREATIONSECONDS, IPADDRESS, CREATIONDATETIME


FROM
PF_SESSION
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 32bhha21dkv0v Plan Hash: 3765558045
select col#,intcol#,charsetid,charsetform
from
col$ where obj#=:1 order by intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
322
0.00
0.00
0
26
0
314
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
331
0.00
0.00
0
26
0
314
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------2
2
2 SORT ORDER BY (cr=3 pr=0 pw=0 time=33 us cost=
3 size=380 card=20)
2
2
2 TABLE ACCESS CLUSTER COL$ (cr=3 pr=0 pw=0 tim
e=15 us cost=2 size=380 card=20)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 tim
e=6 us cost=1 size=0 card=1)(object id 3)
********************************************************************************
SQL ID: fcxzxpu0kdv9k Plan Hash: 0
Insert into PF_SESSION (USERID, BROWSERTYPE, SESSIONKEY, BROWSERLANGUAGE,

BROWSERCOLOR, CSRFID, USERLANGUAGEID, CREATIONSECONDS, IPADDRESS,


CREATIONDATETIME)
VALUES
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
1
14
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
1
14
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=44 pr=1 pw=0 time
=2428 us)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------log file sync
1
0.00
0.00
SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 2vzwpg8wmytv1 Plan Hash: 509985549
SELECT DISTINCT PF_SubjectVEChapterPage.PageIndex
FROM
PF_SubjectVEChapterPage, PF_SubjectVEChapter WHERE
PF_SubjectVEChapterPage.SubjectChapterID =
PF_SubjectVEChapter.SubjectChapterID AND PF_SubjectVEChapter.SubjectKeyID =
:1 AND PF_SubjectVEChapter.ChapterID = :2 AND
PF_SubjectVEChapter.ChapterIndex = :3 AND PF_SubjectVEChapterPage.PageID =
:4 ORDER BY PF_SubjectVEChapterPage.PageIndex
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
6
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
0
Fetch
12
0.00
0.00
0
42
0
26
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
24
0.00
0.00
0
42
0
26
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 3

Rows (1st) Rows (avg) Rows (max) Row Source Operation


---------- ---------- ---------- -------------------------------------------------6
5
6 SORT UNIQUE (cr=7 pr=0 pw=0 time=63 us cost=7
size=38 card=1)
6
5
6 NESTED LOOPS (cr=7 pr=0 pw=0 time=52 us cost
=6 size=38 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAP
TER (cr=4 pr=0 pw=0 time=28 us cost=4 size=22 card=1)
1
1
1
INDEX RANGE SCAN XIE1PF_SUBJECTVECHAPTER (c
r=3 pr=0 pw=0 time=20 us cost=3 size=0 card=1)(object id 20977)
6
5
6
INDEX RANGE SCAN XPKPF_SUBJECTVECHAPTERPAGE
(cr=3 pr=0 pw=0 time=21 us cost=2 size=16 card=1)(object id 20978)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
12
0.00
0.00
SQL*Net message from client
12
0.00
0.01
********************************************************************************
SQL ID: 51qssfd3hu54y Plan Hash: 1238721134
DELETE FROM RT_ITEMSETS
WHERE
(SUBJECTID, VISITID, VISITINDEX, FORMID, FORMINDEX, SECTIONID, ITEMSETID,
ITEMSETINDEX) IN (SELECT SUBJECTID, VISITID, VISITINDEX, FORMID, FORMINDEX,
SECTIONID, ITEMSETID, ITEMSETINDEX FROM RT_ITEMDATA_CONTEXT WHERE
TRANSACTIONID=:B1 AND ITEMSETID IS NOT NULL)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
7
7
10
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
7
7
10
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_ITEMSETS (cr=7 pr=7 pw=0 time=1061
us)
1
1
1 NESTED LOOPS (cr=7 pr=3 pw=0 time=527 us cos
t=11 size=194 card=2)
1
1
1
SORT UNIQUE (cr=4 pr=0 pw=0 time=26 us cost=
9 size=92 card=2)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CON
TEXT (cr=4 pr=0 pw=0 time=12 us cost=9 size=92 card=2)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr
=3 pr=0 pw=0 time=8 us cost=3 size=0 card=5)(object id 22407)

1
1
1
INDEX UNIQUE SCAN RT_ITEMSETS_PK (cr=3 pr=3
pw=0 time=500 us cost=1 size=51 card=1)(object id 22412)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
7
0.00
0.00
********************************************************************************
SQL ID: 9g485acn2n30m Plan Hash: 3483575214
select col#,intcol#,reftyp,stabid,expctoid
from
refcon$ where obj#=:1 order by intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
1
8
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.00
0.00
1
8
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID REFCON$ (cr=1 pr=1
pw=0 time=97 us cost=0 size=72 card=1)
0
0
0 INDEX RANGE SCAN I_REFCON2 (cr=1 pr=1 pw=0 ti
me=96 us cost=0 size=0 card=1)(object id 94)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 7nuw4xwrnuwxq Plan Hash: 1720483994
select col#,intcol#,toid,version#,packed,intcols,intcol#s,flags, synobj#,
nvl(typidcol#, 0)
from
coltype$ where obj#=:1 order by intcol# desc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
1
26
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ----------

total

17

0.00

0.00

26

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 SORT ORDER BY (cr=3 pr=0 pw=0 time=19 us cost=
3 size=196 card=4)
0
0
0 TABLE ACCESS CLUSTER COLTYPE$ (cr=3 pr=0 pw=0
time=12 us cost=2 size=196 card=4)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 tim
e=7 us cost=1 size=0 card=1)(object id 3)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 6qz82dptj0qr7 Plan Hash: 3480746234
select l.col#, l.intcol#, l.lobj#, l.ind#, l.ts#, l.file#, l.block#, l.chunk,
l.pctversion$, l.flags, l.property, l.retention, l.freepools
from
lob$ l where l.obj# = :1 order by l.intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
8
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
11
0.00
0.00
1
14
0
3
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
27
0.00
0.00
1
14
0
3
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID LOB$ (cr=1 pr=0 pw
=0 time=42 us cost=2 size=50 card=1)
0
0
0 INDEX RANGE SCAN I_LOB1 (cr=1 pr=0 pw=0 time=
39 us cost=1 size=0 card=1)(object id 81)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00

********************************************************************************
SQL ID: 9rfqm06xmuwu0 Plan Hash: 832500465
select intcol#, toid, version#, intcols, intcol#s, flags, synobj#
from
subcoltype$ where obj#=:1 order by intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
0
26
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.00
0.00
0
26
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 SORT ORDER BY (cr=3 pr=0 pw=0 time=19 us cost=
3 size=1426 card=31)
0
0
0 TABLE ACCESS CLUSTER SUBCOLTYPE$ (cr=3 pr=0 p
w=0 time=13 us cost=2 size=1426 card=31)
1
1
1
INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 tim
e=8 us cost=1 size=0 card=1)(object id 3)
********************************************************************************
SQL ID: c0bj7sd14ruj6 Plan Hash: 1667805427
SELECT *
FROM
PF_REVISIONHISTORY WHERE REVIEWSCHEMAUPDATED IS NULL AND TRANSACTIONID IN
(SELECT TRANSACTIONID FROM PF_TRANSACTIONHISTORY WHERE INTERNALGUID=:1)
ORDER BY HISTORICALORDER
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
8
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
0
8
0
2
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- --------------------------------------------------

2
2
2 SORT ORDER BY (cr=8 pr=0 pw=0 time=61 us cost=
7 size=148 card=1)
2
2
2 NESTED LOOPS (cr=8 pr=0 pw=0 time=41 us cost
=6 size=148 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_TRANSACTIONHI
STORY (cr=4 pr=0 pw=0 time=23 us cost=3 size=46 card=1)
1
1
1
INDEX UNIQUE SCAN XAK1PF_TRANSACTIONHISTORY
(cr=3 pr=0 pw=0 time=18 us cost=2 size=0 card=1)(object id 21015)
2
2
2
TABLE ACCESS BY INDEX ROWID PF_REVISIONHISTO
RY (cr=4 pr=0 pw=0 time=16 us cost=3 size=102 card=1)
2
2
2
INDEX RANGE SCAN XIF705PF_REVISIONHISTORY (
cr=3 pr=0 pw=0 time=12 us cost=2 size=0 card=3)(object id 20940)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 5ycr58q1ksptq Plan Hash: 1030653931
SELECT SUBJECTCHAPTERID,PAGEID,PAGEINDEX
FROM
PF_SVECPStateHistory SVECP WHERE SVECP.PAGEHISTORYID=:1 AND
SVECP.PAGEHISTORYREVISIONNUMBER=:2 AND BITAND(STATEHIST,8192) <>
BITAND(ORIGINALSTATE,8192)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
3
4
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
3
4
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID PF_SVECPSTATEHISTO
RY (cr=4 pr=3 pw=0 time=402 us cost=3 size=41 card=1)
1
1
1 INDEX UNIQUE SCAN XPKPF_SVECPSTATEHISTORY (cr
=3 pr=2 pw=0 time=271 us cost=2 size=0 card=1)(object id 20981)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
db file sequential read
3
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************

SQL ID: ga9j9xk5cy9s0 Plan Hash: 1697022209


select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece
from
idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
6
0.00
0.00
1
16
0
4
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
10
0.00
0.00
1
16
0
4
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------2
2
2 TABLE ACCESS BY INDEX ROWID IDL_SB4$ (cr=6 pr=
0 pw=0 time=69 us cost=3 size=19 card=1)
2
2
2 INDEX RANGE SCAN I_IDL_SB41 (cr=4 pr=0 pw=0 t
ime=25 us cost=2 size=0 card=1)(object id 239)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: gnkrt49h24x8a Plan Hash: 866645418
select pctfree_stg, pctused_stg, size_stg,initial_stg, next_stg, minext_stg,
maxext_stg, maxsiz_stg, lobret_stg,mintim_stg, pctinc_stg, initra_stg,
maxtra_stg, optimal_stg, maxins_stg,frlins_stg, flags_stg, bfp_stg, enc_stg,
cmpflag_stg, cmplvl_stg
from
deferred_stg$ where obj# =:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
2
16
0
8
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.00
0.00
2
16
0
8
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1

Rows (1st) Rows (avg) Rows (max) Row Source Operation


---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID DEFERRED_STG$ (cr=
2 pr=2 pw=0 time=73 us cost=1 size=38 card=1)
1
1
1 INDEX UNIQUE SCAN I_DEFERRED_STG1 (cr=1 pr=1
pw=0 time=43 us cost=0 size=0 card=1)(object id 133)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: gqn3j3h1sywy0 Plan Hash: 4065984896
Select SiteID
from
PF_Patient Where patientID = :1 and PatientRevisionNumber = (Select
max(PatientRevisionNumber)from PF_Patient Where patientID = :2 and
PatientRevisionNumber <= :3)
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
4
0
0
Fetch
4
0.00
0.00
0
6
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
0
10
0
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_PATIENT (cr=5 p
r=0 pw=0 time=38 us cost=2 size=24 card=1)
1
1
1 INDEX UNIQUE SCAN XPKPF_PATIENT (cr=4 pr=0 pw
=0 time=32 us cost=1 size=0 card=1)(object id 20921)
1
1
1
SORT AGGREGATE (cr=2 pr=0 pw=0 time=24 us)
1
1
1
FIRST ROW (cr=2 pr=0 pw=0 time=16 us cost=
2 size=17 card=1)
1
1
1
INDEX RANGE SCAN (MIN/MAX) XPKPF_PATIENT (
cr=2 pr=0 pw=0 time=14 us cost=2 size=17 card=1)(object id 20921)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
4
0.00
0.00
SQL*Net message from client
4
0.01
0.03
********************************************************************************

SQL ID: 0fr8zhn4ymu3v Plan Hash: 1231101765


select intcol#,type,flags,lobcol,objcol,extracol,schemaoid, elemnum
from
opqtype$ where obj# = :1 order by intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
1
8
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.00
0.00
1
8
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID OPQTYPE$ (cr=1 pr=
1 pw=0 time=98 us cost=2 size=20 card=1)
0
0
0 INDEX RANGE SCAN I_OPQTYPE1 (cr=1 pr=1 pw=0 t
ime=96 us cost=1 size=0 card=1)(object id 96)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 2w95mnyst31x5 Plan Hash: 0
SELECT SIGRESOURCEREVISIONNUMBER, FROZENSTATE, MISSINGITEMSSTATE,
SIGLANGUAGEID, ORIGINALSTATE, SDVCOMPLETESTATE, HASDATASTATE, ACTION,
SIGRESOURCEID, LOCKEDSTATE, PAGEHISTORYREVISIONNUMBER, HASQUERIESSTATE,
SUBJECTCHAPTERID, STATEHIST, SDVREADYSTATE, PAGEHISTORYID, BOOKSGN,
PAGEREVISIONNUMBER, PAGEID, SDVPARTIALSTATE, SIGNEDSTATE, NOTDONESTATE,
DELETEDDYNAMICFORMSTATE, PAGEINDEX, HASCOMMENTSSTATE, STARTEDSTATE
FROM
PF_SVECPSTATEHISTORY
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: cvn54b7yz0s8u Plan Hash: 3246118364
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece
from
idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
2
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
2
10
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
2
10
2
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID IDL_UB1$ (cr=4 pr=
1 pw=0 time=78 us cost=3 size=44 card=2)
1
1
1 INDEX RANGE SCAN I_IDL_UB11 (cr=3 pr=0 pw=0 t
ime=52 us cost=2 size=0 card=2)(object id 236)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: a4k2qf0qwbnxp Plan Hash: 3036371465
select *
from
PF_SUBJECTVECHAPTERPAGE where SubjectChapterID = 6265192 AND PageID = 11715
AND PageIndex=1.000
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
2
5
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
2
5
0
1
Misses in library cache during parse: 1

Optimizer mode: ALL_ROWS


Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max)
---------- ---------- -------------1
1
1
RPAGE (cr=5 pr=2 pw=0 time=332 us
1
1
1
cr=4 pr=1 pw=0 time=196 us cost=3

Row Source Operation


---------------------------------------------TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAPTE
cost=4 size=74 card=1)
INDEX RANGE SCAN XPKPF_SUBJECTVECHAPTERPAGE (
size=0 card=1)(object id 20978)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
db file sequential read
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: c6awqs517jpj0 Plan Hash: 1319326155
select /*+ index(idl_char$ i_idl_char1) +*/ piece#,length,piece
from
idl_char$ where obj#=:1 and part=:2 and version=:3 order by piece#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
2
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
2
10
0
2
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
2
10
2
2
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID IDL_CHAR$ (cr=4 pr
=1 pw=0 time=80 us cost=3 size=21 card=1)
1
1
1 INDEX RANGE SCAN I_IDL_CHAR1 (cr=3 pr=0 pw=0
time=45 us cost=2 size=0 card=1)(object id 237)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 39m4sx9k63ba2 Plan Hash: 2317816222
select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece

from
idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece#
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
2
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
4
0.00
0.00
2
14
0
4
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
8
0.00
0.00
2
14
2
4
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------2
2
2 TABLE ACCESS BY INDEX ROWID IDL_UB2$ (cr=5 pr=
1 pw=0 time=79 us cost=3 size=42 card=2)
2
2
2 INDEX RANGE SCAN I_IDL_UB21 (cr=3 pr=0 pw=0 t
ime=53 us cost=2 size=0 card=2)(object id 238)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 87gaftwrm2h68 Plan Hash: 1218588913
select o.owner#,o.name,o.namespace,o.remoteowner,o.linkname,o.subname
from
obj$ o where o.obj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
0
Fetch
6
0.00
0.00
0
18
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
13
0.00
0.00
0
18
0
6
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=0 pw
=0 time=46 us cost=3 size=78 card=1)
1
1
1 INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 time=

42 us cost=2 size=0 card=1)(object id 36)


********************************************************************************
SQL ID: f3g84j69n0tjh Plan Hash: 2335623859
select col#,intcol#,ntab#
from
ntab$ where obj#=:1 order by intcol# asc
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
8
0.00
0.00
0
0
0
0
Fetch
8
0.00
0.00
1
8
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
17
0.00
0.00
1
8
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 TABLE ACCESS BY INDEX ROWID NTAB$ (cr=1 pr=1 p
w=0 time=101 us cost=2 size=30 card=2)
0
0
0 INDEX RANGE SCAN I_NTAB2 (cr=1 pr=1 pw=0 time
=99 us cost=1 size=0 card=2)(object id 90)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: b08hgzsq0zaf5 Plan Hash: 0
SELECT CreationDateTime
FROM
PF_SESSION
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
10
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
10
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:

Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
10
0.00
0.00
SQL*Net message from client
10
0.00
0.00
********************************************************************************
SQL ID: f46vc1w0c1pns Plan Hash: 287002337
SELECT DBUID
FROM
PF_REVISIONHISTORY WHERE DBUID = :B2 AND REVISIONNUMBER = :B1 UNION SELECT
DISTINCT DBUID FROM PF_REVISIONHISTORY WHERE DBUID = :B2 AND :B1 =
999999999999999.000
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
0
3
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
0
3
0
1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 SORT UNIQUE (cr=3 pr=0 pw=0 time=36 us cost=7
size=24 card=2)
1
1
1 UNION-ALL (cr=3 pr=0 pw=0 time=25 us)
1
1
1
INDEX UNIQUE SCAN XPKPF_REVISIONHISTORY (cr=
3 pr=0 pw=0 time=18 us cost=2 size=17 card=1)(object id 20939)
0
0
0
FILTER (cr=0 pr=0 pw=0 time=1 us)
0
0
0
INDEX RANGE SCAN XPKPF_REVISIONHISTORY (cr=
0 pr=0 pw=0 time=0 us cost=3 size=7 card=1)(object id 20939)
********************************************************************************
SQL ID: 9bcbz4vzv7d8y Plan Hash: 2591204240
INSERT INTO RT_ITEMSETS SELECT SUBJECTID,SUBJECTVISITID, VISITID, VISITINDEX,
FORMID, FORMREV, FORMINDEX, SECTIONID, ITEMSETID, ITEMSETINDEX,
MAX(ITEMSETSTATE) ITEMSETSTATE, MAX(FORMSTATE) FORMSTATE, MAX(FORMDELETED)
FORMDELETED, MAX(TRANSACTIONID) TRANSACTIONID, MAX(LASTENTEREDDATE)
LASTENTEREDDATE, CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE), :B2 ,
CAST(SYS_EXTRACT_UTC(SYSTIMESTAMP) AS DATE),:B2 FROM RT_ITEMDATA_CONTEXT
WHERE TRANSACTIONID=:B1 AND ITEMSETID IS NOT NULL GROUP BY SUBJECTID,
SUBJECTVISITID, VISITID, VISITINDEX, FORMID, FORMREV, FORMINDEX, SECTIONID,
ITEMSETID, ITEMSETINDEX

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
4
5
12
1

Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
4
5
12
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=5 pr=4 pw=0 time=
410 us)
1
1
1 HASH GROUP BY (cr=4 pr=0 pw=0 time=96 us cost
=10 size=80 card=1)
1
1
1
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CONT
EXT (cr=4 pr=0 pw=0 time=12 us cost=9 size=240 card=3)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr=
3 pr=0 pw=0 time=9 us cost=3 size=0 card=5)(object id 22407)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
4
0.00
0.00
********************************************************************************
SQL ID: 5h1v2sp5kmyz2 Plan Hash: 662440360
SELECT REPEATING
FROM
PF_PAGE WHERE PF_PAGE.PAGEID = :B2 AND PF_PAGE.PAGEREVISIONNUMBER = :B1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
2
2
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
2
2
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_PAGE (cr=2 pr=2
pw=0 time=307 us cost=1 size=18 card=1)
1
1
1 INDEX UNIQUE SCAN XPKPF_PAGE (cr=1 pr=1 pw=0
time=153 us cost=0 size=0 card=1)(object id 20907)
Elapsed times include waiting on following events:

Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 2tkw12w5k68vd Plan Hash: 1457651150
select user#,password,datats#,tempts#,type#,defrole,resource$, ptime,
decode(defschclass,NULL,'DEFAULT_CONSUMER_GROUP',defschclass),spare1,spare4,
ext_username,spare2
from
user$ where name=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
2
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
0
1
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
0
1
2
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg)
---------- -------------0
0
w=0 time=16 us cost=1
0
0
e=13 us cost=0 size=0

Rows (max) Row Source Operation


---------- ---------------------------------------------0 TABLE ACCESS BY INDEX ROWID USER$ (cr=1 pr=0 p
size=102 card=1)
0 INDEX UNIQUE SCAN I_USER1 (cr=1 pr=0 pw=0 tim
card=1)(object id 46)

********************************************************************************
SQL ID: 7akvnu9t168d3 Plan Hash: 1964643588
select baseobject,type#,update$,insert$,delete$,refnewname,refoldname,
whenclause,definition,enabled,property,sys_evts,nttrigcol,nttrigatt,
refprtname,rowid,actionlineno,trignameline,trignamecol, trignamecolofs,
actioncolno
from
trigger$ where obj# =:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
3
0.00
0.00
0
0
0
0
Execute
3
0.00
0.00
0
0
0
0
Fetch
3
0.00
0.00
0
6
0
3
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
9
0.00
0.00
0
6
0
3
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Number of plan statistics captured: 3


Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID TRIGGER$ (cr=2 pr=
0 pw=0 time=19 us cost=1 size=165 card=1)
1
1
1 INDEX UNIQUE SCAN I_TRIGGER2 (cr=1 pr=0 pw=0
time=12 us cost=0 size=0 card=1)(object id 163)
********************************************************************************
SQL ID: 1n0tjkfgzwuz2 Plan Hash: 1218588913
SELECT STATUS
FROM
OBJ$ WHERE OBJ#=:B1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
0
Fetch
6
0.00
0.00
0
18
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
13
0.00
0.00
0
18
0
6
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=0 pw
=0 time=26 us cost=3 size=8 card=1)
1
1
1 INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 time=
12 us cost=2 size=0 card=1)(object id 36)
********************************************************************************
SQL ID: 1mjd9xp80vuqa Plan Hash: 3023518864
select node,owner,name
from
syn$ where obj#=:1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
4
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
3
3
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
3
3
4
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1

Optimizer mode: CHOOSE


Parsing user id: SYS (recursive depth: 2)
Number of plan statistics captured: 1
Rows (1st) Rows (avg)
---------- -------------1
1
=0 time=174 us cost=2
1
1
=115 us cost=1 size=0

Rows (max) Row Source Operation


---------- ---------------------------------------------1 TABLE ACCESS BY INDEX ROWID SYN$ (cr=3 pr=3 pw
size=27 card=1)
1 INDEX UNIQUE SCAN I_SYN1 (cr=2 pr=2 pw=0 time
card=1)(object id 77)

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
3
0.00
0.00
********************************************************************************
SQL ID: cq8hzxwd7mk8d Plan Hash: 415205717
SELECT VALUE
FROM
NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_NCHAR_CHARACTERSET'
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
6
0.00
0.00
0
0
0
0
Fetch
6
0.00
0.00
0
12
0
6
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
13
0.00
0.00
0
12
0
6
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS FULL PROPS$ (cr=2 pr=0 pw=0 time=
39 us cost=2 size=28 card=1)
********************************************************************************
SQL ID: 4hd6trgtygw3y Plan Hash: 1071646431
DELETE FROM RT_ITEMDATA_CONTEXT
WHERE
ITEMSETINDEX IN (SELECT ITEMSETINDEX FROM RT_ITEMDATA_CONTEXT WHERE
TRANSACTIONID=:B1 AND ITEMSETID IS NULL) AND ITEMSETID IS NOT NULL
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
4
0
0
Fetch
0
0.00
0.00
0
0
0
0

------- ------ -------- ---------- ---------- ---------- ---------- ---------total


2
0.00
0.00
0
4
0
0
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 DELETE RT_ITEMDATA_CONTEXT (cr=4 pr=0 pw=0 ti
me=52 us)
0
0
0 NESTED LOOPS (cr=4 pr=0 pw=0 time=37 us cost
=12 size=468 card=6)
0
0
0
SORT UNIQUE (cr=4 pr=0 pw=0 time=37 us cost=
9 size=34 card=2)
0
0
0
TABLE ACCESS BY INDEX ROWID RT_ITEMDATA_CON
TEXT (cr=4 pr=0 pw=0 time=29 us cost=9 size=34 card=2)
1
1
1
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_1 (cr
=3 pr=0 pw=0 time=22 us cost=3 size=0 card=5)(object id 22407)
0
0
0
INDEX RANGE SCAN IX_ITEMDATA_CONTEXT_3 (cr=0
pr=0 pw=0 time=0 us cost=2 size=244 card=4)(object id 22406)
********************************************************************************
SQL ID: 5ym0cudcum8cb Plan Hash: 1695846414
SELECT QueryRevisionNumber
FROM
PF_Query WHERE QueryID = 68188692 AND QueryState = 1 AND Reissued = 0 AND
ConflictState NOT LIKE 'LINK:%' ORDER by QueryRevisionNumber DESC
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
5
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
0
5
0
1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_QUERY (cr=5 pr=
0 pw=0 time=21 us cost=6 size=40 card=1)
1
1
1 INDEX RANGE SCAN DESCENDING XPKPF_QUERY (cr=4
pr=0 pw=0 time=20 us cost=3 size=0 card=2)(object id 20928)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------

SQL*Net message to client


2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 0n7sxr3hgcsd0 Plan Hash: 0
INSERT INTO PF_SESSION_HISTORY (USERID, IPADDRESS, CREATIONDATETIME,
CREATIONSECONDS )
VALUES
(:B1 , :B2 , :B3 , :B4 )
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
1
1
5
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
1
1
5
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 LOAD TABLE CONVENTIONAL (cr=1 pr=1 pw=0 time=
139 us)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
1
0.00
0.00
********************************************************************************
SQL ID: 5tghm7w60yu39 Plan Hash: 0
SELECT FROZENSTATE,STATE,MISSINGITEMSSTATE,SDVCOMPLETESTATE,HASDATASTATE,
ORIGINALSTATE,NEEDSRECALCSTATE,LOCKEDSTATE,NEEDSUNSIGNSTATE,HASQUERIESSTATE,
SUBJECTCHAPTERID,FORMSTARTDATE,SDVCOMPLETE,SDVREADYSTATE,PAGEREPEATKEY,
PAGEREVISIONNUMBER,PAGEID,SDVPARTIALSTATE,SIGNEDSTATE,NOTDONESTATE,
DELETEDDYNAMICFORMSTATE,PAGEINDEX,HASCOMMENTSSTATE,STARTEDSTATE
FROM
PF_SUBJECTVECHAPTERPAGE
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS

Parsing user id: 44


Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 7swy3dg7gwd62 Plan Hash: 0
BEGIN
EXECUTE IMMEDIATE 'alter session set timed_statistics=TRUE';
EXECUTE IMMEDIATE 'alter session set max_dump_file_size=UNLIMITED';
EXECUTE immediate 'alter session set tracefile_identifier =
''INFORM_ANSWER_CLOSE_QUERY''' ;
EXECUTE IMMEDIATE 'alter session set
events ''10046 trace name context forever, level 12''';
END
Logon_Olx_Trigger;
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
0
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
1
0.00
0.00
0
0
0
1
Misses in library cache during parse: 0
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
********************************************************************************
SQL ID: 41jv35md3xbrk Plan Hash: 1824896812
SELECT RULEITEMID
FROM
PF_RULEITEM WHERE RULEITEMID = :B1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
1
0.00
0.00
2
2
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
3
0.00
0.00
2
2
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
(recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- ----------------------------------------------

----1
1
1 INDEX RANGE SCAN XPKPF_RULEITEM (cr=2 pr=2 pw=
0 time=292 us cost=2 size=6 card=1)(object id 20947)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------db file sequential read
2
0.00
0.00
********************************************************************************
SQL ID: 8z0qtcyhqs5ch Plan Hash: 324004810
select UserID
from
PF_User where UserName = :1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
4
0
1
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4
0.00
0.00
0
4
0
1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID PF_USER (cr=4 pr=0
pw=0 time=34 us cost=2 size=16 card=1)
1
1
1 INDEX RANGE SCAN XIE1PF_USER (cr=3 pr=0 pw=0
time=38 us cost=1 size=0 card=1)(object id 21025)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.11
0.11
********************************************************************************
SQL ID: 0ucq69srju2v1 Plan Hash: 415205717
SELECT VALUE
FROM
SYS.NLS_DATABASE_PARAMETERS WHERE PARAMETER = 'NLS_NCHAR_CHARACTERSET'
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
3
0
1

------- ------ -------- ---------- ---------- ---------- ---------- ---------total


4
0.00
0.00
0
3
0
1
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS FULL PROPS$ (cr=3 pr=0 pw=0 time=
23 us cost=2 size=28 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: am4qbdr7da9wj Plan Hash: 1218588913
select owner#, status
from
obj$ o where obj# = :1
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
3
0.00
0.00
0
0
0
0
Execute
3
0.00
0.00
0
0
0
0
Fetch
3
0.00
0.00
0
9
0
3
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
9
0.00
0.00
0
9
0
3
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=3 pr=0 pw
=0 time=25 us cost=3 size=11 card=1)
1
1
1 INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 time=
15 us cost=2 size=0 card=1)(object id 36)
********************************************************************************
SQL ID: g1f3y406004jq Plan Hash: 0
SELECT REVIEWSCHEMAUPDATED, PFTIMESTAMP, USERID, REVISIONNUMBER, REASON,
KEYID, DBUID, TRANSACTIONID, HISTORICALORDER, SITEFILTER
FROM
PF_REVISIONHISTORY

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
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
2
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00
********************************************************************************
SQL ID: 4zzxr8rvht74z Plan Hash: 3368685730
select case when (bitand(u.spare1, 16) = 0) then
0
(u.type# = 2) then
(u.spare2)
else
1
from
obj$ o, user$ u where o.obj# = :1 and o.owner# = u.user#

when
end

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
3
0.00
0.00
0
0
0
0
Execute
3
0.00
0.00
0
0
0
0
Fetch
3
0.00
0.00
0
9
0
3
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
9
0.00
0.00
0
9
0
3
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Number of plan statistics captured: 3
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------1
1
1 NESTED LOOPS (cr=3 pr=0 pw=0 time=18 us cost=
3 size=29 card=1)
1
1
1 INDEX RANGE SCAN I_OBJ1 (cr=2 pr=0 pw=0 time=
8 us cost=2 size=8 card=1)(object id 36)
1
1
1 INDEX RANGE SCAN I_USER2 (cr=1 pr=0 pw=0 time
=8 us cost=1 size=21 card=1)(object id 47)
********************************************************************************
SQL ID: ga2f5qrz4hqxg Plan Hash: 0
BEGIN REVIEW_SCHEMA.UPDATE_RT_FORMDATA(:1,:2,:3,:4); END;
call

count

cpu

elapsed

disk

query

current

rows

------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse


1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
0
0
1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: cp2k5jhgf8vmh Plan Hash: 0
SELECT REVIEWSCHEMAUPDATED
FROM
PF_REVISIONHISTORY
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
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
1
0.00
0.00
0
0
0
0
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 44
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: bj28p4stax7fm Plan Hash: 0
BEGIN REVIEW_SCHEMA.UPDATE_RT_SUBJECTVISIT(:1,:2,:3,:4); END;
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
1
0.00
0.00
0
0
0
0
Execute
1
0.00
0.00
0
0
0
1
Fetch
0
0.00
0.00
0
0
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
2
0.00
0.00
0
0
0
1
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44

Elapsed times include waiting on following events:


Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
1
0.00
0.00
SQL*Net message from client
1
0.00
0.00
********************************************************************************
SQL ID: 9muawy0nbt7kg Plan Hash: 1922256481
select *
from
DCV_RECALC_FORMS
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
2
0.00
0.00
0
0
0
0
Execute
2
0.00
0.00
0
0
0
0
Fetch
2
0.00
0.00
0
12
0
0
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
6
0.00
0.00
0
12
0
0
Misses in library cache during parse: 0
Optimizer mode: ALL_ROWS
Parsing user id: 44
Number of plan statistics captured: 2
Rows (1st) Rows (avg) Rows (max) Row Source Operation
---------- ---------- ---------- -------------------------------------------------0
0
0 SORT ORDER BY (cr=6 pr=0 pw=0 time=88 us cost=
5 size=48 card=1)
0
0
0 NESTED LOOPS (cr=6 pr=0 pw=0 time=74 us cost
=4 size=48 card=1)
0
0
0
NESTED LOOPS (cr=6 pr=0 pw=0 time=71 us cos
t=4 size=48 card=1)
1
1
1
INLIST ITERATOR (cr=3 pr=0 pw=0 time=58 us
)
1
1
1
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECH
APTERPAGE (cr=3 pr=0 pw=0 time=52 us cost=2 size=22 card=1)
1
1
1
INDEX RANGE SCAN XIE1PF_SUBJECTVECHAPTERP
AGE (cr=2 pr=0 pw=0 time=36 us cost=1 size=0 card=1)(object id 20980)
0
0
0
INDEX UNIQUE SCAN XPKPF_SUBJECTVECHAPTER_CU
R (cr=3 pr=0 pw=0 time=14 us cost=1 size=0 card=1)(object id 22314)
0
0
0
TABLE ACCESS BY INDEX ROWID PF_SUBJECTVECHAP
TER_CUR (cr=0 pr=0 pw=0 time=0 us cost=2 size=26 card=1)
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
2
0.00
0.00
SQL*Net message from client
2
0.00
0.00

********************************************************************************
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS

call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
122
0.11
0.17
0
0
0
0
Execute
104
2.59
2.64
22246
22291
185
32
Fetch
671
0.17
0.22
71
13342
0
11806
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
897
2.88
3.04
22317
35633
185
11838
Misses in library cache during parse: 47
Misses in library cache during execute: 20
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------SQL*Net message to client
825
0.00
0.00
SQL*Net message from client
825
68.59
213.13
Disk file operations I/O
12
0.00
0.04
db file sequential read
143
0.01
0.10
log file sync
12
0.00
0.01
direct path read
1386
0.00
0.13
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call
count
cpu
elapsed
disk
query
current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ---------Parse
425
0.05
0.07
0
0
36
0
Execute
920
13.99
15.45
67304
241594
458
66
Fetch
2697
0.05
0.05
131
3086
0
2231
------- ------ -------- ---------- ---------- ---------- ---------- ---------total
4042
14.11
15.58
67435
244680
494
2297
Misses in library cache during parse: 84
Misses in library cache during execute: 81
Elapsed times include waiting on following events:
Event waited on
Times Max. Wait Total Waited
---------------------------------------- Waited ---------- -----------Disk file operations I/O
3
0.00
0.01
db file sequential read
43174
0.02
1.01
log file sync
2
0.00
0.00
db file scattered read
1550
0.00
0.26
133 user SQL statements in session.
64 internal SQL statements in session.
197 SQL statements in session.
********************************************************************************
Trace file: trial9_ora_17051_INFORM_ANSWER_CLOSE_QUERY.trc
Trace file compatibility: 11.1.0.7
Sort options: prsela exeela fchela
1 session in tracefile.
133 user SQL statements in trace file.
64 internal SQL statements in trace file.
197 SQL statements in trace file.
142 unique SQL statements in trace file.
65592 lines in trace file.
231 elapsed seconds in trace file.