zoukankan      html  css  js  c++  java
  • 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: edo01.log for group 1'

  • 相关阅读:
    微软“隐形革命”
    关于董事会绩效评估的思考
    Redis源码分析(二十八)--- object创建和释放redisObject对象
    Redis源码分析(二十七)--- rio系统I/O的封装
    Redis源码分析(二十七)--- rio系统I/O的封装
    实战DeviceIoControl 之一:通过API访问设备驱动程序 分类: windows驱动程序WDM 2013-09-25 14:45 381人阅读 评论(0) 收藏
    马云:超过我只需十到十五年
    如何在不同文化背景下做简报
    Google与沃尔玛的薪酬战略—方法不同,目的一致
    传苹果9月9日发布iPhone 6S
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316086.html
Copyright © 2011-2022 走看看