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

    175.You are peer reviewing a fellow DBAs backup plan for his NOARCHIVELOG mode database, as

    shown here:

    Put the tablespaces in backup mode.

    Back up the datafiles for all tablespaces.

    Take the tablespaces out of backup mode.

    Back up all archived redo logs.

    Your colleague asks for you to comment on his plan. Which response would be correct?

    A. The plan will work as is.

    B. The plan needs to be modified to allow for an archive-log switch after step 3.

    C. The plan needs to be modified so that a backup of the archived redo logs occurs before step 1.

    D. The plan needs to be adjusted to shut down the database after step 1 and to restart the database after

    step 2.

    E. The plan cannot work as presented.

    Answer: B

    答案解析:

    个人觉得这道题有问题,在非归档模式下,不能将表空间启动到备份模式,不能在切换日志时将日志归档等,错误如下,应该选E?

    sys@TEST1107> startup mount
    ORACLE instance started.
     
    Total System Global Area 1269366784 bytes
    Fixed Size                  2227984 bytes
    Variable Size             872415472 bytes
    Database Buffers          385875968 bytes
    Redo Buffers                8847360 bytes
    Database mounted.
    sys@TEST1107> alter database noarchivelog;
     
    Database altered.
     
    sys@TEST1107> alter database open;
     
    Database altered.
     
    sys@TEST1107> alter tablespace users begin backup;
    alter tablespace users begin backup
    *
    ERROR at line 1:
    ORA-01123: cannot start online backup; media recovery not enabled

  • 相关阅读:
    poj 3280 Cheapest Palindrome(区间DP)
    POJ 2392 Space Elevator(多重背包)
    HDU 1285 定比赛名次(拓扑排序)
    HDU 2680 Choose the best route(最短路)
    hdu 2899 Strange fuction (三分)
    HDU 4540 威威猫系列故事――打地鼠(DP)
    HDU 3485 Count 101(递推)
    POJ 1315 Don't Get Rooked(dfs)
    脱离eclipse,手动写一个servlet
    解析xml,几种方式
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316508.html
Copyright © 2011-2022 走看看