首页 > 数据库 > Oracle > ocp 053 394
394.Which of the following statements is true regarding the initialization parameter DIAGNOSTIC_DEST?
A. The default value is the value of the environment variable $ORACLE_HOME;
if $ORACLE_HOME isn't set,then the default is set to $ORACLE_BASE.
B. The default value is the value of the environment variable $ORACLE_BASE;
if $ORACLE_BASE isn't set,then it is set to $ORACLE_HOME.
C. DIAGNOSTIC_DEST is always equal to $ORACLE_HOME.
D. DIAGNOSTIC_DEST is always equal to $ORACLE_BASE.
Answer: B
题目解答
Automatic Diagnostic Repository (ADR)一个存放数据库诊断日志、跟踪文件的目录,
称作ADR base.
对应初始化参数DIAGNOSTIC_DEST.
如果设置了ORACLE_BASE环境变量,DIAGNOSTIC_DEST等于 ORACLE_BASE,
如果没有设置ORACLE_BASE,则等与ORACLE_HOME/log。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29654823/viewspace-1396944/ ,如需转载,请注明出处,否则将追究法律责任。