Oracle_11g_ocp_053_003

3.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


答案解析:

参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/osadvsce.htm#BRADV90052

Table 30-4 Recovering After the Loss of an Online Redo Log Group

If the Group Is...Then...And You Should...

Inactive

It is not needed for crash recovery

Clear the archived or unarchived group.

Active

It is needed for crash recovery

Attempt to issue a checkpoint and clear the log; if impossible, then you must either use Flashback Database or restore a backup and perform incomplete recovery up to the most recent available redo log.

Current

It is the redo log that the database is currently writing to

Attempt to clear the log; if impossible, then you must either use Flashback Database or restore a backup and perform incomplete recovery up to the most recent available redo log.



[oracle@rtest ~]$ oerr ora 313

00313, 00000, "open failed for members of log group %s of thread %s"

// *Cause:  The online log cannot be opened. May not be able to find file.

// *Action: See accompanying errors and make log available.

[oracle@rtest ~]$ oerr ora 312

00312, 00000, "online log %s thread %s: '%s'"

// *Cause:  This message reports the filename for details of another message.

// *Action: Other messages will accompany this message. See the

//          associated messages for the appropriate action to take.


你的数据库在归档记录模式。你有两个在线重做日志组,其中每个都包含一个重做成员。当您尝试启动数据

库时,您会收到以下错误:

ORA-00313:线程1日志组1成员打开失败 

ORA-00312:联机日志1线程1:'D:\ REDO01.LOG

你发现当前的重做组联机重做日志文件被损坏。你应该使用哪种说法来解决这个问题?


Clearing Inactive, Unarchived Redo

Clearing a not-yet-archived redo log allows it to be reused without archiving it. This action makes backups unusable if they were started before the last change in the log, unless the file was taken offline before the first change in the log. Hence, if you need the cleared log file for recovery of a backup, then you cannot recover that backup. Clearing a not-yet-archived-redo-log, prevents complete recovery from backups due to the missing log.

To clear an inactive, online redo log group that has not been archived:

  1. If the database is shut down, then start a new instance and mount the database:

    SQL> STARTUP MOUNT
  2. Clear the log using the UNARCHIVED keyword.

    For example, to clear log group 2, issue the following SQL statement:

    SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;



---- 转载文章,待研究-----
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
easyopc_da ocp server 是一种用于开放式控制(OPC)的服务器软件。OPC 是一种用于实现工业自动化系统之间数据通信的标准化协议。easyopc_da ocp server 提供了一种简单易用的方式来实现不同设备之间的数据交互和通信。 easyopc_da ocp server 具有以下特点: 1. 易于配置和使用:easyopc_da ocp server 提供了直观的用户界面,使用户可以轻松配置和管理服务器。用户可以快速设置通信参数、设备连接和数据传输等选项,实现快速部署和使用。 2. 高度可靠性:easyopc_da ocp server 以稳定性和可靠性为设计目标,采用先进的通信技术和算法,确保数据的可靠传输和高效性。 3. 支持多种数据源:easyopc_da ocp server 可以与不同品牌和型号的工业自动化设备进行通信,包括传感器、执行器、PLC等。通过适配器和驱动程序,可以实现数据的采集和交换。 4. 强大的安全性:easyopc_da ocp server 提供了多种安全机制来保护数据的安全性和机密性。用户可以通过身份验证、数据加密和访问控制等方式来保护数据的完整性和私密性。 5. 实时监控和诊断:easyopc_da ocp server 提供了实时监控和诊断功能,用户可以随时监测设备状态和数据流量,及时发现和解决问题,确保系统的稳定运行。 easyopc_da ocp server 是一个功能强大、易于使用的开放式控制服务器软件,可以帮助用户实现设备间的数据交互和通信,提高自动化系统的效率和可靠性。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值