ITPub博客

首页 > 数据库 > Oracle > Output format of a 10046 sql trace file

Output format of a 10046 sql trace file

原创 Oracle 作者:pan_tian 时间:2014-07-02 14:59:51 0 删除 编辑

The header

/appl/oracle/admin/EI1T/udump/ei1t_ora_14246.trc
Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
JServer Release 9.2.0.3.0 - Production
ORACLE_HOME = /appl/oracle/product/9.2.0
System name:    SunOS
Node name:      sdsunn01
Release:        5.9
Version:        Generic_112233-08
Machine:        sun4u
Instance name: EI1T
Redo thread mounted by this instance: 1
Oracle process number: 17
Unix process pid: 14246, image: oracle@sdsunn01?(TNS V1-V3)

*** 2003-10-13 16:13:59.450
*** SESSION ID:(45.30) 2003-10-13 16:13:59.429
APPNAME mod=\'SQL*Plus\' mh=3669949024 act=\'\' ah=4029777240

APPNAME: Application name which can be set with dbms_application_info
mod:module name
mh:module hash
act:Action
ah:Action hash value

The content

=====================
PARSING IN CURSOR #6 len=107 dep=1 uid=44 oct=6 lid=44 tim=1621758552415 hv=3988607735 ad=\'902c07a8\'
UPDATE rn_lu_lastname_loca set entr_loca_id_plz14 = translate(entr_loca_id_plz14,\'_\',\'-\') where rowid = :b1
END OF STMT
PARSE #6:c=0,e=981,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=0,tim=1621758552403
BINDS #6:
 bind 0: dty=1 mxl=32(18) mal=00 scl=00 pre=00 oacflg=13 oacfl2=1 size=32 offset=0
   bfp=10331d748 bln=32 avl=18 flg=09
   value="AAAHINAATAAAwTTABV"
WAIT #6: nam=\'db file sequential read\' ela= 12170 p1=6 p2=197843 p3=1
WAIT #6: nam=\'db file sequential read\' ela= 8051 p1=14 p2=261084 p3=1
WAIT #6: nam=\'db file sequential read\' ela= 7165 p1=19 p2=147722 p3=1
WAIT #6: nam=\'db file sequential read\' ela= 9604 p1=19 p2=133999 p3=1
WAIT #6: nam=\'db file sequential read\' ela= 6381 p1=19 p2=133801 p3=1
EXEC #6:c=10000,e=45750,p=5,cr=1,cu=10,mis=0,r=1,dep=1,og=4,tim=1621758598343
FETCH #5:c=0,e=357,p=0,cr=5,cu=0,mis=0,r=0,dep=1,og=4,tim=1621758598896
EXEC #1:c=30000,e=116691,p=36,cr=35,cu=10,mis=0,r=1,dep=0,og=4,tim=1621758599043
WAIT #1: nam=\'SQL*Net message to client\' ela= 5 p1=1413697536 p2=1 p3=0
WAIT #1: nam=\'SQL*Net message from client\' ela= 2283 p1=1413697536 p2=1 p3=0

Lines that start with WAIT

lenLength of SQL statement.
depRecursive depth of the cursor.
uidSchema user id of parsing user.
octOracle command type.
lidPrivilege user id.
elaElapsed time. 8i: in 1/1000th of a second, 9i: 1/1\'000\'000th of a second
timTimestamp. Pre-Oracle9i, the times recorded by Oracle only have a resolution of 1/100th of a second (10mS). As of Oracle9i some times are available to microsecond accuracy (1/1,000,000th of a second). The timestamp can be used to determine times between points in the trace file. The value is the value in v$timer when the line was written. If there are TIMESTAMPS in the file you can use the difference between \'tim\' values to determine an absolute time.
hvHash id.
adSQLTEXT address (see v$sqlarea and v$sqltext).

Lines that start with PARSE, EXEC or FETCH

#nn = number of cursor
ccpu time
eelapsed time
pphysical reads
crconsistant reads
cucurrent mode reads
mismiss in cache (?)
rrows processed
deprecursive depth
og optimizer goal
timtime


source:http://www.adp-gmbh.ch/ora/misc/trace_file_format.html

<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1204602/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: My Firefox Addon Collection
下一篇: TRANSACTION_HEADER_ID & TRANSACTION_BATCH_ID & TRANSACTION_BATCH_SEQ
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章