Sign in or 

| Platform: | Oracle | App: | Tool: | ||
| DB Ver: | 9.2 | App Ver: | Tool Ver: | ||
| Revision Date: | 30-Dec-2005 | Keywords: | REF, REFERENCE, TRACE FILE STRUCTURE | ||
| Reference | |||||
| For any updates, refer to the original Metalink document Metalink:39817.1. | |||||
Introduction This is a short reference article which summarises the output format of the raw SQL_TRACE output file. The second part of the article describes the additional trace lines that may be enabled by the DBMS_SUPPORT package. See Metalink Note 62294.1 for details of this package. Note: The format may vary slightly between releases. APPNAME mod='%s' mh=%lu act='%s' ah=%lu APPNAME Application name setting. (This only applies to Oracle 7.2 and above. This can be set by using thePARSING IN CURSOR #<CURSOR> len=X dep=X uid=X oct=X lid=X tim=X hv=X ad='X' <statement> END OF STMTmod Module name.DBMS_APPLICATION_INFO package. See Note 30366.1.) <CURSOR> Cursor number. len Length of SQL statement.PARSE ERROR #%d:len=%ld dep=%d uid=%ld oct=%d lid=%ld tim=%lu err=%d <statement> ... PARSE ERROR In Oracle 7.2+ parse errors are reported to the trace file.PARSE #<CURSOR>:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0 EXEC #<CURSOR>:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0 FETCH #<CURSOR>:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0 UNMAP #<CURSOR>:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0 - OPERATIONS:
| |||||
SQL Error shown after an execution or fetch error.STAT #<CURSOR> id=N cnt=0 [pid=0 pos=0 obj=0 op='SORT AGGREGATE ']
err Oracle error code (e.g. ORA-XXXXX) at the top of the stack.
tim Timestamp.
STAT Lines report explain plan statistics for the numbered <CURSOR>.
<CURSOR> Cursor which the statistics apply to.
id Line of the explain plan which the row count applies to (starts at line 1). This is effectively the row source rowcount for all row sources in the execution tree.cnt Number of rows for this row source.
As of 7.3.3 the items in '[...]' are also reported:
pid Parent id of this row source.
pos Position in explain plan.
obj Object id of row source (if this is a base object).
op='...' The row source access operation.
These let you know the 'run time' explain plan.
XCTEND A transaction end marker.
rlbk 1 if a rollback was performed, 0 if no rollback (commit).
rd_only 1 if transaction was read only, 0 if changes occurred.
| ||||||||||||||||||||||||||||||||||||||||
WAIT #<CURSOR>: nam="<event name>" ela=0 p1=0 p2=0 p3=0
Example (Full Table Scan): WAIT #1: nam="db file scattered read" ela= 5 p1=4 p2=1435 p3=25 WAITing under CURSOR no 1 for "db file scattered read" We waited 0.05 seconds Example (Index Scan): WAIT #1: nam="db file sequential read" ela= 4 p1=4 p2=1224 p3=1 WAITing under CURSOR no 1 | ||||||||||||||||||||||||||||||||||||||||
|
consultium |
Latest page update: made by consultium
, Oct 9 2009, 8:11 AM EDT
(about this update
About This Update
158 words added 3 words deleted view changes - complete history) |
|
Keyword tags:
REF
REFERENCE
TRACE FILE STRUCTURE
More Info: links to this page
|