[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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE EVENT && ORADEBUGOracle
- oradebug的使用說明
- 用oradebug掛起程式
- [20180619]oradebug peek.txt
- oracle oradebug使用詳解Oracle
- [20180625]oradebug peek 2.txt
- [20210407]oradebug dump heapdump_addr.txt
- [20190423]oradebug peek測試指令碼.txt指令碼
- [20220124]驗證oradebug dump heapdump 2050中chunk的第1位元組表示chunk size+1.txt
- sqlplus -prelim和oradebug捕獲資料庫hang住的詳細資訊SQL資料庫
- Solidity語言學習筆記————37、Using forSolid筆記
- Linux入門學習(1基礎操作命令)Linux
- linux學習day1——linux常見命令Linux
- python學習1——1.3shell基本命令簡解Python
- Linux 命令學習Linux
- ip命令學習
- PG: Utility queries
- 學習一個 Linux 命令:shutdown 命令Linux
- Shell學習【test命令】
- virsh命令學習(一)
- dos命令的學習
- 論文學習筆記 - Classifification of Hyperspectral and LiDAR Data Using Coupled CNNs筆記CNN
- 學習1
- Redis基礎知識(學習筆記8--Redis命令(1))Redis筆記
- ASM Metadata Dump UtilityASM
- linux基礎命令學習Linux
- Linux命令學習(重定向)Linux
- Redis 學習筆記命令Redis筆記
- python學習命令總結Python
- lsof命令學習筆記筆記
- tail命令學習例項AI
- linux學習筆記---一些命令學習Linux筆記
- codeigniter學習1
- Jquery學習1jQuery
- AJAX學習1
- Vuex學習(1)Vue
- python學習1Python
- js學習1JS
- NLP學習1