Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TKPROF: Release 12.2.0.1.0 - Development on Mon Aug 13 19:54:55 2018
- Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
- Trace file: C:\Users\admin\Desktop\orcl_ora_5560_SINGLESQLTRACE.trc
- Sort options: default
- ********************************************************************************
- 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
- ********************************************************************************
- 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 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: 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=4 pr=1 pw=0 time=4 us starts=0 cost=4 size=83 card=1)
- 1 1 1 INDEX RANGE SCAN I_OBJ2 (cr=3 pr=0 pw=0 time=3 us starts=0 cost=3 size=0 card=1)(object id 37)
- ********************************************************************************
- 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 1 0.00 0.00 2 4 0 1
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 4 0.00 0.00 2 4 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 MERGE JOIN OUTER (cr=4 pr=2 pw=0 time=2 us starts=0 cost=2 size=189 card=1)
- 1 1 1 TABLE ACCESS CLUSTER TAB$ (cr=3 pr=2 pw=0 time=2 us starts=0 cost=2 size=137 card=1)
- 1 1 1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=1 pw=0 time=1 us starts=0 cost=1 size=0 card=1)(object id 3)
- 0 0 0 BUFFER SORT (cr=1 pr=0 pw=0 time=0 us starts=0 cost=0 size=52 card=1)
- 0 0 0 TABLE ACCESS BY INDEX ROWID TAB_STATS$ (cr=1 pr=0 pw=0 time=0 us starts=0 cost=0 size=52 card=1)
- 0 0 0 INDEX UNIQUE SCAN I_TAB_STATS$_OBJ# (cr=1 pr=0 pw=0 time=0 us starts=0 cost=0 size=0 card=1)(object id 430)
- ********************************************************************************
- 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 1 0.01 0.00 0 0 0 0
- Fetch 2 0.00 0.00 1 7 0 1
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 4 0.01 0.00 1 7 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 SORT ORDER BY (cr=7 pr=1 pw=0 time=7 us starts=0 cost=7 size=374 card=2)
- 1 1 1 HASH JOIN OUTER (cr=7 pr=1 pw=0 time=6 us starts=0 cost=6 size=374 card=2)
- 1 1 1 NESTED LOOPS OUTER (cr=4 pr=0 pw=0 time=2 us starts=0 cost=2 size=288 card=2)
- 1 1 1 TABLE ACCESS CLUSTER IND$ (cr=3 pr=0 pw=0 time=2 us starts=0 cost=2 size=184 card=2)
- 1 1 1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=1 us starts=0 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=0 us starts=0 cost=0 size=52 card=1)
- 0 0 0 INDEX UNIQUE SCAN I_IND_STATS$_OBJ# (cr=1 pr=0 pw=0 time=0 us starts=0 cost=0 size=0 card=1)(object id 432)
- 1 1 1 VIEW (cr=3 pr=1 pw=0 time=3 us starts=0 cost=3 size=43 card=1)
- 1 1 1 SORT GROUP BY (cr=3 pr=1 pw=0 time=3 us starts=0 cost=3 size=15 card=1)
- 1 1 1 TABLE ACCESS BY INDEX ROWID CDEF$ (cr=3 pr=1 pw=0 time=2 us starts=0 cost=2 size=15 card=1)
- 6 6 6 INDEX RANGE SCAN I_CDEF2 (cr=2 pr=0 pw=0 time=1 us starts=5 cost=1 size=0 card=4)(object id 54)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 6 0.00 0.00 1 12 0 5
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 8 0.00 0.00 1 12 0 5
- 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
- ---------- ---------- ---------- ---------------------------------------------------
- 5 5 5 TABLE ACCESS BY INDEX ROWID ICOL$ (cr=12 pr=1 pw=0 time=2 us starts=0 cost=2 size=54 card=2)
- 5 5 5 INDEX RANGE SCAN I_ICOL1 (cr=7 pr=1 pw=0 time=1 us starts=12 cost=1 size=0 card=2)(object id 42)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 13 0.00 0.00 0 3 0 12
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 15 0.00 0.00 0 3 0 12
- 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
- ---------- ---------- ---------- ---------------------------------------------------
- 12 12 12 SORT ORDER BY (cr=3 pr=0 pw=0 time=3 us starts=0 cost=3 size=708 card=12)
- 12 12 12 TABLE ACCESS CLUSTER COL$ (cr=3 pr=0 pw=0 time=2 us starts=0 cost=2 size=708 card=12)
- 1 1 1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=1 us starts=0 cost=1 size=0 card=1)(object id 3)
- ********************************************************************************
- SQL ID: 9tgj4g8y4rwy8 Plan Hash: 3755742892
- select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#,iniexts,
- NVL(lists,65535),NVL(groups,65535),cachehint,hwmincr, NVL(spare1,0),
- NVL(scanhint,0),NVL(bitmapranges,0)
- from
- seg$ where ts#=:1 and file#=:2 and block#=: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 2 0.01 0.00 2 6 0 2
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 6 0.01 0.00 2 6 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 TABLE ACCESS CLUSTER SEG$ (cr=3 pr=1 pw=0 time=2 us starts=0 cost=2 size=68 card=1)
- 1 1 1 INDEX UNIQUE SCAN I_FILE#_BLOCK# (cr=2 pr=1 pw=0 time=1 us starts=0 cost=1 size=0 card=1)(object id 9)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 1 0.00 0.00 1 3 0 1
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 3 0.00 0.00 1 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 OBJ$ (cr=3 pr=1 pw=0 time=3 us starts=0 cost=3 size=83 card=1)
- 1 1 1 INDEX RANGE SCAN I_OBJ1 (cr=2 pr=1 pw=0 time=2 us starts=0 cost=2 size=0 card=1)(object id 36)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 1 0.00 0.00 1 2 0 0
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 3 0.00 0.00 1 2 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: 1)
- 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=4 us starts=0 cost=4 size=15 card=1)
- 0 0 0 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=2 pr=1 pw=0 time=3 us starts=0 cost=3 size=15 card=1)
- 0 0 0 INDEX RANGE SCAN I_OBJAUTH1 (cr=2 pr=1 pw=0 time=2 us starts=0 cost=2 size=0 card=1)(object id 62)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 1 0.00 0.00 0 2 0 0
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 3 0.00 0.00 0 2 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: 1)
- Number of plan statistics captured: 1
- Rows (1st) Rows (avg) Rows (max) Row Source Operation
- ---------- ---------- ---------- ---------------------------------------------------
- 0 0 0 SORT GROUP BY (cr=2 pr=0 pw=0 time=4 us starts=0 cost=4 size=15 card=1)
- 0 0 0 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=2 pr=0 pw=0 time=3 us starts=0 cost=3 size=15 card=1)
- 0 0 0 INDEX RANGE SCAN I_OBJAUTH1 (cr=2 pr=0 pw=0 time=2 us starts=0 cost=2 size=0 card=1)(object id 62)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 1 0.00 0.00 0 2 0 0
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 3 0.00 0.00 0 2 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: 1)
- 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=2 pr=0 pw=0 time=2 us starts=0 cost=2 size=84 card=3)
- 0 0 0 INDEX RANGE SCAN I_CDEF3 (cr=2 pr=0 pw=0 time=1 us starts=0 cost=1 size=0 card=1)(object id 55)
- ********************************************************************************
- 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 1 0.00 0.00 0 0 0 0
- Fetch 7 0.00 0.00 0 14 0 6
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 9 0.00 0.00 0 14 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: 1)
- Number of plan statistics captured: 1
- Rows (1st) Rows (avg) Rows (max) Row Source Operation
- ---------- ---------- ---------- ---------------------------------------------------
- 6 6 6 TABLE ACCESS BY INDEX ROWID CDEF$ (cr=14 pr=0 pw=0 time=2 us starts=0 cost=2 size=192 card=4)
- 6 6 6 INDEX RANGE SCAN I_CDEF2 (cr=8 pr=0 pw=0 time=1 us starts=25 cost=1 size=0 card=4)(object id 54)
- ********************************************************************************
- 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 6 0.00 0.00 0 0 0 0
- Fetch 16 0.00 0.00 1 32 0 10
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 23 0.00 0.00 1 32 0 10
- 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 CCOL$ (cr=4 pr=1 pw=0 time=3 us starts=0 cost=3 size=16 card=1)
- 1 1 1 INDEX RANGE SCAN I_CCOL1 (cr=3 pr=1 pw=0 time=2 us starts=0 cost=2 size=0 card=1)(object id 57)
- ********************************************************************************
- 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 12 0.00 0.00 0 0 0 0
- Fetch 12 0.00 0.00 2 36 0 12
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 25 0.00 0.00 2 36 0 12
- Misses in library cache during parse: 1
- Misses in library cache during execute: 1
- Optimizer mode: RULE
- 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 HIST_HEAD$ (cr=3 pr=2 pw=0 time=0 us starts=0)
- 1 1 1 INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=2 pr=1 pw=0 time=0 us starts=0)(object id 426)
- ********************************************************************************
- SQL ID: db78fxqxwxt7r Plan Hash: 3312420081
- select /*+ rule */ bucket, endpoint, col#, epvalue
- from
- histgrm$ where obj#=:1 and intcol#=:2 and row#=:3 order by bucket
- call count cpu elapsed disk query current rows
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- Parse 1 0.01 0.00 0 0 0 0
- Execute 8 0.00 0.00 0 0 0 0
- Fetch 8 0.03 0.15 6 24 0 94
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 17 0.04 0.15 6 24 0 94
- Misses in library cache during parse: 1
- Misses in library cache during execute: 1
- Optimizer mode: RULE
- Parsing user id: SYS (recursive depth: 1)
- Number of plan statistics captured: 1
- Rows (1st) Rows (avg) Rows (max) Row Source Operation
- ---------- ---------- ---------- ---------------------------------------------------
- 20 20 20 SORT ORDER BY (cr=3 pr=2 pw=0 time=0 us starts=0 cost=0 size=0 card=0)
- 20 20 20 TABLE ACCESS CLUSTER HISTGRM$ (cr=3 pr=2 pw=0 time=0 us starts=19)
- 1 1 1 INDEX UNIQUE SCAN I_OBJ#_INTCOL# (cr=2 pr=1 pw=0 time=0 us starts=0)(object id 421)
- ********************************************************************************
- SQL ID: 9jpk7931105mh Plan Hash: 1282975746
- select *
- from
- TestTable
- call count cpu elapsed disk query current rows
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- Parse 1 0.01 0.01 0 0 0 0
- Execute 1 0.00 0.00 0 0 0 0
- Fetch 1 2.92 28.96 7427 7436 0 74
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 3 2.93 28.97 7427 7436 0 74
- Misses in library cache during parse: 1
- Optimizer mode: ALL_ROWS
- Parsing user id: 92
- Number of plan statistics captured: 1
- Rows (1st) Rows (avg) Rows (max) Row Source Operation
- ---------- ---------- ---------- ---------------------------------------------------
- 74 74 74 TABLE ACCESS FULL TestTable (cr=7436 pr=7427 pw=0 time=2017 us starts=73 cost=2017 size=6734 card=74)
- ********************************************************************************
- declare
- l_line varchar2(32767);
- l_done number;
- l_buffer varchar2(32767) := '';
- l_lengthbuffer number := 0;
- l_lengthline number := 0;
- begin
- loop
- dbms_output.get_line( l_line, l_done );
- if (l_buffer is null) then
- l_lengthbuffer := 0;
- else
- l_lengthbuffer := length(l_buffer);
- end if;
- if (l_line is null) then
- l_lengthline := 0;
- else
- l_lengthline := length(l_line);
- end if;
- exit when l_lengthbuffer + l_lengthline > :maxbytes OR l_lengthbuffer + l_lengthline > 32767 OR l_done = 1;
- l_buffer := l_buffer || l_line || chr(10);
- end loop;
- :done := l_done;
- :buffer := l_buffer;
- :line := l_line;
- 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: 92
- ********************************************************************************
- OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
- call count cpu elapsed disk query current rows
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- Parse 2 0.01 0.01 0 0 0 0
- Execute 2 0.00 0.00 0 0 0 1
- Fetch 1 2.92 28.96 7427 7436 0 74
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 5 2.93 28.97 7427 7436 0 75
- Misses in library cache during parse: 1
- OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
- call count cpu elapsed disk query current rows
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- Parse 15 0.01 0.00 0 0 0 0
- Execute 40 0.01 0.01 0 0 0 0
- Fetch 73 0.04 0.17 18 155 0 146
- ------- ------ -------- ---------- ---------- ---------- ---------- ----------
- total 128 0.07 0.19 18 155 0 146
- Misses in library cache during parse: 14
- Misses in library cache during execute: 14
- 2 user SQL statements in session.
- 39 internal SQL statements in session.
- 41 SQL statements in session.
- ********************************************************************************
- Trace file: C:\Users\admin\Desktop\orcl_ora_5560_SINGLESQLTRACE.trc
- Trace file compatibility: 12.2.0.0
- Sort options: default
- 1 session in tracefile.
- 2 user SQL statements in trace file.
- 39 internal SQL statements in trace file.
- 41 SQL statements in trace file.
- 16 unique SQL statements in trace file.
- 464 lines in trace file.
- 40 elapsed seconds in trace file.
Add Comment
Please, Sign In to add comment