zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-200题-112题-268

    QUESTION 112

    You are using Recovery Manager (RMAN) for backup and recovery operations with a recovery catalog. You

    have been taken database backups every evening. On November 15, 2007, at 11:30 AM, you were informed

    that the USER_DATA tablespace was accidentally dropped.

    On investigation, you found that the tablespace existed until 11:00 AM, and important transactions weredone

    after that.

    So you decided to perform incomplete recovery until 11:00 AM. All the archive logs needed to perform

    recovery are intact. In NOMOUNT state you restored the control file that has information about the

    USER_DATA tablespace from the latest backup. Then you mounted the database.

    Identify the next set of commands that are requiredto accomplish the task?

    A. RMAN> run

    {

    SET UNTIL TIME 'Nov 15 2007 11:00:00';

    RESTORE DATABASE;

    RECOVER DATABASE;

    }

    B. RMAN> run

    {

    SET UNTIL TIME 'Nov 15 2007 11:00:00';

    RESTORE DATABASE;

    RECOVER DATABASE USING BACKUP CONTROLFILE;

    }

    C. RMAN> run

    {

    RESTORE DATABASE;

    RECOVER DATABASE UNTIL TIME 'Nov 15 2007 11:00:00';

    }

    D. RMAN> run

    {

    RESTORE TABLESPACE user_data;

    RECOVER TABLESPACE user_data UNTIL TIME 'Nov 15 2007 11:00:00';

    }

    Answer: A

    同268题:http://blog.csdn.net/rlhua/article/details/12363359


    Explanation/Reference:

    Section: Backup, Recovery & Recovery Manager (RMAN)

    Perform the following operations within a RUN block:

    1.

    Use SET UNTIL to specify the target time, restore point, SCN, or log sequence number for DBPITR. If

    specifying a time, then use the date format specified in the NLS_LANG and NLS_DATE_FORMAT

    environment

    variables.

    2.

    If automatic channels are not configured, then manually allocate disk and tape channels as needed.

    3.

    Restore and recover the database.

    The following example performs DBPITR on the target database until SCN 1000:

    RUN

    {

    SET UNTIL SCN 1000;

    RESTORE DATABASE;

    RECOVER DATABASE;

    }

    As shown in the following examples, you can also usetime expressions, restore points, or log sequence

    numbers to specify the SET UNTIL time:

    SET UNTIL TIME 'Nov 15 2004 09:00:00';

    SET UNTIL SEQUENCE 9923;

    SET UNTIL RESTORE POINT before_update;

  • 相关阅读:
    day10作业
    day9 函数作业
    Python编码及文件练习题
    day10函数命名空间,嵌套,闭包
    Python基础数据类型考试题
    day9 函数
    day8 文件操作
    day7 集合
    day6 编码
    day5 作业自我完成版
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316060.html
Copyright © 2011-2022 走看看