[oradebug命令學習2]How to Use Oradebug to Get Trace File Name and Location
How to Use Oradebug to Get Trace File Name and Location [ID 310830.1]
修改時間:2012-7-31型別:HOWTO狀態:PUBLISHED優先順序:3
In this Document
Goal |
Fix |
References |
Applies to:
Oracle Server - Enterprise Edition - Version 8.1.7.4 to 11.2.0.3 [Release 8.1.7 to 11.2]Information in this document applies to any platform.
***Checked for relevance on 26-Apr-2012***
Goal
How to get trace file name and location from SQL*Plus when trace event is enabled in a session using 'Alter session'?
Fix
Use the command: Oradebug tracefile_name
For example:
-
At SQL*Plus prompt, execute:
'Alter session set events ... ' statement to enable tracing. -
Issue:
Oradebug setmypid
Oradebug tracefile_name
Sample Output
SQL> conn sys/sys as sysdba
Connected.
SQL> alter session set events '10046 trace name context forever, level 12';
Session altered.
SQL> oradebug setmypid
Statement processed.
SQL> oradebug tracefile_name
/u01/app/oracle/diag/rdbms/v1120/v1120/trace/v1120_ora_26077.trc
References
@NOTE:29786.1 - SUPTOOL: ORADEBUG來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-748940/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [oradebug命令學習3]How to Enable SQL_TRACE for Another Session Using OradebugSQLSession
- [oradebug命令學習1]Using ORADEBUG Utility
- [oradebug命令學習4]HANGANALYZE
- Oracle oradebug命令Oracle
- oradebug命令詳解
- oracle之 oradebug 命令用法Oracle
- Oracle oradebug命令詳解Oracle
- 在10g中使用oradebug trace工具
- Oracle oradebug 命令 使用說明Oracle
- Oracle oradebug命令使用說明Oracle
- How to use Qt Designed Ui fileQTUI
- ORACLE EVENT && ORADEBUGOracle
- oradebug詳解
- How to read Oracle 10046 trace fileOracle
- ORADEBUG使用詳解
- oradebug分析oracle hangOracle
- (轉)Oracle EVENT && ORADEBUGOracle
- Oracle Debug ---- oradebugOracle
- ipcs / oradebug ipc / sysresv
- oracle oradebug使用詳解Oracle
- 用oradebug掛起程式
- 使用Oradebug修改Oracle SCNOracle
- oracle實用工具:oradebugOracle
- zt_oradebug詳解
- 使用oradebug掛起程式
- oradebug工具使用系列一
- To use Rman to duplicate database be careful of db_file_name_convertDatabase
- how to start '10046 trace name context forever,level 12'Context
- How to get the donuts in Lode Runner 2
- how to use typeset?
- oradebug處理DB hang情況
- 利用oradebug探討控制檔案
- angular學習筆記(三十一)-$location(2)Angular筆記
- Sessions Get Killed if Connection Use Default Service name (Same as db_name) (Doc ID 730315.1)Session
- How to Get a 10046 trace for a Parallel Query [ID 1102801.1]Parallel
- how to use coffee script
- In Oracle,How to use dumpOracle
- 常用的DUMP語句ORADEBUG語法