[oradebug命令學習1]Using ORADEBUG Utility
Using ORADEBUG Utility
ORADEBUG utility is a debugging tool that sends debug commands through SQL*Plus to an Oracle . It is primarily for use by developers and Oracle Support Services personnel. Use this utility only when instructed to do so by Oracle Support Services. You must have database administrator privileges to use ORADEBUG utility.
To start ORADEBUG utility:
-
Start SQL*Plus from the command prompt:
C:\> sqlplus / NOLOG
-
Connect to Oracle9i database as SYSDBA:
SQL> CONNECT / AS SYSDBA
-
Enter the following at the SQL*Plus prompt:
SQL> ORADEBUG
ORADEBUG utility runs and prompts you for parameters. To obtain a list of these parameters, enter the following at the SQL*Plus prompt:
SQL> ORADEBUG HELP
Output from most debug commands is written to a . Trace files are created in the directory specified by initialization parameters BACKGROUND_DUMP_DEST and USER_DUMP_DEST. By default, these parameters are set to ORACLE_BASE\ADMIN\db_name\bdump and ORACLE_BASE\ADMIN\db_name\udump, respectively. To find the location of your trace file, enter the following at the SQL*Plus prompt:
SQL> ORADEBUG TRACEFILE_NAME
If output from a debug command produces more than one line of output, then the result is sent to a trace file, and a message indicating that the command has completed is relayed to SQL*Plus. If output from a debug command produces only one line of output, then the output is relayed directly to SQL*Plus.
Note:There is currently a limitation when using ORADEBUG utility. If you attempt to debug a thread that is blocking on I/O, ORADEBUG can cause SQL*Plus to hang until that I/O completes.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-748942/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [oradebug命令學習3]How to Enable SQL_TRACE for Another Session Using OradebugSQLSession
- [oradebug命令學習4]HANGANALYZE
- [oradebug命令學習2]How to Use Oradebug to Get Trace File Name and Location
- Oracle oradebug命令Oracle
- oradebug命令詳解
- oracle之 oradebug 命令用法Oracle
- Oracle oradebug命令詳解Oracle
- Oracle oradebug 命令 使用說明Oracle
- Oracle oradebug命令使用說明Oracle
- ORACLE EVENT && ORADEBUGOracle
- oradebug詳解
- 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工具使用系列一
- oradebug處理DB hang情況
- 利用oradebug探討控制檔案
- DBMS_Utility學習
- 常用的DUMP語句ORADEBUG語法
- 通過oradebug研究控制檔案(一)
- 在10g中使用oradebug trace工具
- 轉貼_Oradebug hanganalyze分析library cache等待
- 使用oradebug dump hanganalyze分析oracle hang系列一Oracle
- 使用oradebug dump hanganalyze 分析oracle hang系列二Oracle
- 使用oradebug dump hanganalyze 分析oracle hang系列三Oracle
- oracle實驗記錄 (使用hanganlyze&oradebug)Oracle
- 使用oradebug來獲取跟蹤檔案的位置
- oradebug分析oracle hang或慢_sqlplus_prelimOracleSQL
- GoldenGate replication using a data definition file and DEFGEN utilityGo
- 每天學習linux命令(1)Linux