OCP-IZO-053_QUESTION394

QUESTION NO: 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. 

【题目示意】

此题考查有关于DIAGNOSTIC_DEST的相关知识。

【解析】

DIAGNOSTIC_DEST

Property

Description

Parameter type

String

Syntax

DIAGNOSTIC_DEST = { pathname | directory }

Default value

Derived from the value of the $ORACLE_BASE environment variable. If $ORACLE_BASE is not set, then derived fromORACLE_BASE as set by the Oracle Universal Installer. If ORACLE_BASE is not set, then $ORACLE_HOME/rdbms/log is used.

Modifiable

ALTER SYSTEM

Basic

No

Oracle RAC

This parameter can be set on each instance. Oracle recommends that each instance in a cluster specify aDIAGNOSTIC_DEST directory location that is located on shared disk and that the same value for DIAGNOSTIC_DEST be specified for each instance.

 

【实验】

1)在有环境变量$ORACLE_BASE时:

SYS@ENMOEDU > show parameter  DIAGNOSTIC_DEST 

 

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

diagnostic_dest                      string      /u01/app/oracle

这个参数的缺省值和环境变量ORACLE_BASE有关:

如果设置了 ORACLE_BASE 则 DIAGNOSTIC_DEST = $ORACLE_BASE

如果未设置 ORACLE_BASE ,则 DIAGNOSTIC_DEST = $ORACLE_HOME/rdbms/log

 

【小结】

环境变量设置了ORACLE_BASE,则DIAGNOSTIC_DEST的默认值就是ORACLE_BASE,因此选择B

【答案】 B

 

相关参考

http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams078.htm#REFRN10280

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29435844/viewspace-1078505/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29435844/viewspace-1078505/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值