OCP-1Z0-053-200题-142题-3

QUESTION 142

Your database is in ARCHIVELOG mode. You have two online redo log groups, each of which contains one

redo member. When you attempt to start the database, you receive the following errors:

ORA-00313: open failed for members of log group 1 of thread 1

ORA-00312: online log 1 thread 1: 'D:\REDO01.LOG'

You discover that the online redo log file of the current redo group is corrupted.

Which statement should you use to resolve this issue?

A. ALTER DATABASE DROP LOGFILE GROUP 1;

B. ALTER DATABASE CLEAR LOGFILE GROUP 1;

C. ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;

D. ALTER DATABASE DROP LOGFILE MEMBER 'D:\REDO01.LOG';

Answer: C

同3题:http://blog.csdn.net/rlhua/article/details/14057145


Explanation/Reference:

Section: Backup, Recovery & Recovery Manager (RMAN)

You should use the ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 1;statement to clear the

corrupted online redo log file. When you issue thisstatement, the contents of the online redo log file are

cleared, and the log file is initialized. Because the log file has not been archived, the UNARCHIVED keyword is

used. This keyword overrides the archiving of the online redo log file in the redo group, and the cleared redo

log files become available for use. Immediately after issuing this statement, you should perform a database

backup.

The option stating that you will use the ALTER DATABASE DROP LOGFILE GROUP 1;statement to resolve

the corrupted online redo log file is incorrect. If you attempt to drop the online redo log group thatbelongs to a

current redo group, you will receive the following errors:

ORA-01623: log 1 is current log for thread 1 cannot drop

ORA-00312: online log 1 of thread 1: 'D:\REDO01.LOG'

The option stating that you will use the ALTER DATABASE CLEARLOGFILE GROUP 1; statement to resolve

the corrupted online redo log file is incorrect. If you attempt to clear an online redo log file that must be

archived without using the UNARCHIVED keyword, you will receive the following errors:

ORA-00350: log 1 of thread 1 needs to be archived

ORA-00312: online log 1 thread 1: 'D:\REDO01.LOG'

The option stating that you will use the ALTER DATABASE DROP LOGFILE MEMBER 'D:\REDO01.LOG';

statement to resolve the corrupted online redo log file is incorrect. Oracle does not allow you to drop an online

redo log member that belongs to an active or current redo group. Therefore, if you attempt to drop such a

member, you will receive the following error:

ORA-00361: cannot remove last log member 'D:\redo01.log for group 1'

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值