OCP-1Z0-053-200题-145题-295

QUESTION 145

Which statement about using RMAN stored scripts is true?

A. To create and execute an RMAN stored script, you must use a recovery catalog.

B. When executing a stored script and a command fails, the remainder of the script is executed, and a

message is written to the alert log file.

C. RMAN stored scripts can always be executed againstany target database that is registered in the recovery

catalog.

D. When you execute a stored script, it always executes using the persistent channel settings previously set

with the CONFIGURE command.

Answer: A

同295题:http://blog.csdn.net/rlhua/article/details/13276537


Explanation/Reference:

Section: Backup, Recovery & Recovery Manager (RMAN)

To create and execute an RMAN stored script, you must use a recovery catalog because RMAN stored scripts

are stored in the recovery catalog. You cannot use RMAN stored scripts if you are using the control filefor your

RMAN repository.

The option that states when executing a stored script and a command fails, the remainder of the scriptis

executed, and a message is written to the alert logfile is incorrect. If you are executing a stored RMAN script

and one of the commands in the script fails, the other subsequent commands in the script are not executed

because a stored RMAN script is created within a RUNblock.

The option that states RMAN stored scripts can always be executed against any target database that is

registered in the recovery catalog is incorrect. RMAN stored scripts can be created as local scripts oras global

scripts. Local scripts can only be executed againstthe target database to which you are connected when you

create the script. To create a global script that can be executed against any target database registered in the

recovery catalog, you must include the GLOBAL keywordwhen you create the script.

The option that states when you execute a stored script, it always executes using the persistent channel

settings set with the CONFIGURE command is incorrect. You can override any persistent channel settings by

including an ALLOCATE CHANNEL command in the RUN block before executing the script.

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值