[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
![](https://i.iter01.com/images/d7affa2dc154ea0d067be44550aa86238daa24a53409866e815476b8fa313de6.gif)
![](https://i.iter01.com/images/d7affa2dc154ea0d067be44550aa86238daa24a53409866e815476b8fa313de6.gif)
![](https://i.iter01.com/images/d7affa2dc154ea0d067be44550aa86238daa24a53409866e815476b8fa313de6.gif)
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20180625]oradebug peek 2.txt
- ORACLE EVENT && ORADEBUGOracle
- How to use Qt Designed Ui fileQTUI
- oradebug的使用說明
- 用oradebug掛起程式
- [20180619]oradebug peek.txt
- oracle oradebug使用詳解Oracle
- [20210407]oradebug dump heapdump_addr.txt
- [20190423]oradebug peek測試指令碼.txt指令碼
- How to get the exact duration of an audio file in js All In OneJS
- 翻譯|How to Use the useReducer HookuseReducerHook
- use "jsdelivr" to host fileJSVR
- How to Convert Class File to Java File Online?Java
- ADFS – How to enable Trace Debugging and advanced access logging
- File name 屬性
- How to Use the Stdin, Stderr, and Stdout Streams in Bash
- [Design Pattern] Upload big file - 2. How to coordinate frontend and backend
- How to Convert a Class File to a Ja
- sqlplus -prelim和oradebug捕獲資料庫hang住的詳細資訊SQL資料庫
- Azure databricks get notebook name
- How to use “cat” command on “find” command's output?
- React 16.0+ 新特性初探(How to use)React
- How to get propose products in Sales Order
- file_get_content
- 從v$diag_info定位trace file
- How to get the description of blast hit using blastdbcmd?AST
- How to Dump Redo Log File Information --metalinkORM
- [原創] How to revise author name and email in commit historyAIMIT
- Linguistics-English-Would, Should, and Could: How to Use Them CorrectlyNGUI
- 4.3.2.2.1 The SEED FILE_NAME_CONVERT Clause
- How to use VS Code to debug Next.js applications All In OneJSAPP
- [20220323]完善tpt get_trace.sql指令碼.txtSQL指令碼
- Trace file的命名規則和存放路徑
- GET程式碼學習
- Java HttpClient 學習記錄 2 嘗試Get請求JavaHTTPclient
- [20220124]驗證oradebug dump heapdump 2050中chunk的第1位元組表示chunk size+1.txt
- Quartz叢集增強版_00.How to use?(如何使用)quartz
- Node Express中app.use與app.getExpressAPP
- get_object_vars 學習Object