zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V13.02-685题

    685. In your test database:

    -You are using Recovery Manager (RMAN) to perform incremental backups of your test database

    -The test database is running in NOARCHIVELOG mode

    -One of the data files is corrupted

    -All online redo log files are lost because of a media failure

    Which option must you consider in this scenario?

    A.Configuring the database in ARCHVIELOG mode and  then using incremental backup to recover the database

    B.Using incremental backup to recover the damaged data file and then manually creating the online redo log files

    C.Creating a new test database because  the database is not recoverable du e to the fact that the database is configured in NOARCHIVELOG mode

    D.Using incremental backups to recover the database by using the RECOVER DATABASE NOREDO command and then using the RESETLOGS option to open the database.  

    Answer: C 
    答案解析:
    根据官方文档,此题应该选D

    Example 3-6 Recovering a NOARCHIVELOG Database

    You can perform limited recovery of changes to a database running in NOARCHIVELOG mode by applying incremental backups. The incremental backups must be consistent, like all backups of a database run in NOARCHIVELOG mode, so you cannot back up the database when it is open.

    Assume that you run database prod in NOARCHIVELOG mode with a recovery catalog. You shut down the database consistently and make a level 0 backup of database prod to tape on Sunday afternoon. You shut down the database consistently and make a level 1 differential incremental backup to tape at 3:00 a.m. on Wednesday and Friday.

    On Saturday, a media failure destroys half the data files and the online redo logs. Because the online logs are lost, you must specify the NOREDO option in the RECOVER command. Otherwise, RMAN searches for the redo logs after applying the Friday incremental backup and issues an error message when it does not find them.

    After connecting RMAN to prod and the catalog database, recover as follows:

    STARTUP FORCE NOMOUNT;
    RESTORE CONTROLFILE;      # restore control file from consistent backup
    ALTER DATABASE MOUNT;
    RESTORE DATABASE;         # restore data files from consistent backup
    RECOVER DATABASE NOREDO;  # specify NOREDO because online redo logs are lost
    ALTER DATABASE OPEN RESETLOGS;

    The recovered database reflects only changes up through the time of the Friday incremental backup. Because there are no archived redo log files, there is no way to recover changes made after the incremental backup.


  • 相关阅读:
    SublimeText4 相比3的更新亮点与安装
    [原创]产品和成本效率总结提炼
    [原创]企业的生命周期总结提炼
    [原创]从不确定到确定性总结提炼
    [原创]验证需求(需求三角)总结提炼
    [原创] Test Card 模型用于验证商业 Idea(想法)总结提炼
    [原创]精益画布(lean canvas)总结提炼
    [原创]商业画布( Business Model Generation)总结提炼
    [原创]总结常见获客渠道
    [原创]什么是增长总结提炼
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315928.html
Copyright © 2011-2022 走看看