Oracle oradebug 命令 使用说明

2014-11-24 18:11:22 · 作者: · 浏览: 0




. Oradebug 命令 帮助文档



SYS@dave2(db2)> oradebug help





1.1 TRACEFILE_NAME command


This command prints the name of the current trace file e.g.


SQL>oradebug tracefile_name


For example


/export/home/admin/SS92003/udump/ss92003_ora_14917.trc


This command does not work on Windows 2000 (Oracle 9.2)



1.2 UNLIMIT command


In Oracle 8.1.5 and below the maximum size of the trace file is restricted by default. This means that large dumps (LIBRARY_CACHE, BUFFERS) may fail.



To remove the limitation on the size of the trace file use


SQL>oradebug unlimit


In Oracle 8.1.6 and above the maximum size of the trace file defaults to UNLIMITED



1.3 FLUSH command


To flush the current contents of the trace buffer to the trace file use


SQL>oradebug flush



1.4 CLOSE_TRACE command


To close the current trace file use


SQL>oradebug close_trace