053-102

Examine the following values of the initialization parameters in the database having the SID ORCL:
BACKGROUND_DUMP_DEST=/u01/app/oracle/product/11.1.0/db_1/bdump
USER_DUMP_DEST=/u01/app/oracle/product/11.1.0/db_1/udump
CORE_DUMP_DEST=/u01/app/oracle/product/11.1.0/db_1/cdump
DIAGNOSTIC_DEST=
The environment variables have the following value:
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
What is the location of the Automatic Diagnostic Repository (ADR) home?
A. /u01/app/oracle/product/11.1.0/db_1
B. /u01/app/oracle
C. $ORACLE_HOME/bdump
D. $ORACLE_HOME/log

ADR 的基础目录由 DIAGNOSTIC_DEST 参数控制, 里此参数未置。所以有下面 2 种情形:
1.如果 ORACLE_BASE 环境变量已设置,则 DIAGNOSTIC_DEST 被设置为$ORACLE_BASE
2.如果 ORACLE_BASE 环境变量未设置,则 DIAGNOSTIC_DEST 被设置为$ORACLE_HOME/log
diag/product_type/product_id/instance_id
product_type rdbms
product_id DB_UNIQUE_NAME

posted @ 2017-11-16 17:06  巴啦啦大魔王  阅读(89)  评论(0编辑  收藏  举报