zoukankan      html  css  js  c++  java
  • 053-607

    Examine the following scenario:
    -Database is running in ARCHIVELOG mode.
    -Complete consistent backup is taken every Sunday.
    -On Tuesday the instance terminates abnormally because the disk on which control files are located gets corrupted
    The disk having active online redo log files is also corrupted.
    The hardware is repaired and the paths for online redo log files and control files are still valid. Which option would you use to perform the recovery of database till the point of failure?
    A. Restore the latest whole backup, perform complete recovery, and open the database normally
    B. Restore the latest whole backup, perform incomplete recovery, and open the database with the RESETLOGS option.
    C. Restore the latest backups control file, perform complete recovery, and open the database with the RESETLOGS option.
    D. Restore the latest backup control file, perform incomplete recovery using backup control file, and open the database with the RESETLOG option.

      由于丢失了在线 redo,只能进行不完全恢复,并且打开的时候要以 RESETLOGS 方式打开。由于控制文件也损坏,在恢复之前要使用备份的控制文件重建,之后再进行不完全恢复

    恢复步骤:
    STARTUP FORCE NOMOUNT;
    RMAN> RUN
    {
    RESTORE CONTROLFILE FROM AUTOBACKUP;
    ALTER DATABASE MOUNT;
    SET UNTIL SEQUENCE 1124 THREAD 1;
    RESTORE DATABASE;
    RECOVER DATABASE;
    }
    ALTER DATABASE OPEN RESETLOGS;


  • 相关阅读:
    自主学习1
    动手动脑10.28
    《程序员修炼之道》阅读笔记三
    《程序员修炼之道》阅读笔记
    11月20,21,22训练赛
    Rabbits(跳兔子)
    01背包变式(并查集+dp01背包)
    问题 I: 约会序列(两边枚举)
    问题 J: 直角三角形
    Cow Exhibition (01背包的负数处理)
  • 原文地址:https://www.cnblogs.com/Babylon/p/7839402.html
Copyright © 2011-2022 走看看