Oracle 参数 USER_DUMP_DEST 官方解释,作用,如何配置最优化建议
本站中文解释
USER_DUMP_DEST参数用于指定数据库实例崩溃生成的trace文件或其他类型的dump文件的位置。
正确的设置方法:
1. 首先在数据库施行“create directory”语句,以建立一个名为DUMPS的目录;
2. 然后在操作系统上建立一个与数据库中目录DUMPS同名的实际文件目录;
3. 以sys用户登录数据库后,运行”alter system set user_dump_dest=’/oracle/dumps'”(其中/oracle/dumps为操作系统上实际的路径),以将USER_DUMP_DEST参数的值设置为刚才建立的文件目录;
4. 测试USER_DUMP_DEST参数是否正确设置,可运行“show parameter user_dump_dest”来查询;
5. 通常在某ORACLE实例发生崩溃时,trace文件就会自动存放到USER_DUMP_DEST参数所设置的位置;
6. 最后,如果要删除USER_DUMP_DEST参数,可运行“alter system reset user_dump_dest”来实现。
官方英文解释
USER_DUMP_DEST
specifies the pathname for a directory where the server will write debugging trace files on behalf of a user process.
Property | Description |
---|---|
Parameter type |
String |
Syntax |
|
Default value |
Operating system-dependent |
Modifiable |
|
Modifiable in a PDB |
No |
Range of values |
Any valid local path, directory, or disk |
Basic |
No |
Note:
The USER_DUMP_DEST
initialization parameter is deprecated.
For example, this directory might be set as follows:
-
On MS-DOS:
C:\ORACLE\UTRC
-
On UNIX:
/oracle/utrc
-
On VMS:
DISK$UR3:[ORACLE.UTRC]
Note:
This parameter is ignored by the diagnosability infrastructure introduced in Oracle Database 11g Release 1 (11.1), which places trace and core files in a location controlled by the DIAGNOSTIC_DEST
initialization parameter.
See Also:
-
Oracle Database SQL Tuning
Guide for more information about the use of trace files -
Your operating system-specific Oracle documentation for the range of values