您的位置:首页 > 其它

OCP-1Z0-053-V12.02-102题

2013-11-09 00:46 155 查看
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
Answer: B
答案解析:

如果ORACLE_BASE环境变量已设置,则DIAGNOSTIC_DEST被设置为$ORACLE_BASE

参考:http://docs.oracle.com/cd/E11882_01/server.112/e25494/diag.htm#ADMIN11008

the ADR root directory is known as ADR base. Its location is set by the
DIAGNOSTIC_DEST
initialization parameter. If this parameter is omitted or left null, the database sets
DIAGNOSTIC_DEST
upon startup
as follows:

If environment variable
ORACLE_BASE
is set,
DIAGNOSTIC_DEST
is set to the directory designated by
ORACLE_BASE
.

If environment variable
ORACLE_BASE
is not set,
DIAGNOSTIC_DEST
is set to ORACLE_HOME/log

Within ADR base, there can be multiple ADR homes, where each ADR home is the root directory for all diagnostic data—traces, dumps, the alert log, and so on—for a particular instance of a particular Oracle product or component.
For example, in an Oracle Real Application Clusters environment with Oracle ASM, each database instance, Oracle ASM instance, and listener has an ADR home.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: