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

    197.Which of the following commands will fail?

    A. report schema;

    B. report need backup;

    C. report need backup days 3;

    D. report user;

    E. report obsolete;

    Answer: D

    答案解析:

    • REPORT NEED BACKUP

      Reports which database files must be backed up to meet a configured or specified retention policy

    • REPORT UNRECOVERABLE

      Reports which database files require backup because they have been affected by some NOLOGGING operation such as a direct-path INSERT

    • REPORT OBSOLETE

    Full backups, data file copies, and archived redo logs recorded in the RMAN repository that can be deleted because they are no longer needed

    • REPORT SCHEMA

    The names of all datafiles (permanent and temporary) and tablespaces for the target database at the specified point in time. If you use RMAN in a Data Guard environment, then you can report the schema for a specifiedDB_UNIQUE_NAME.

    Using RMAN REPORT NEED BACKUP with Different Retention Policies

    You can specify different criteria for REPORT NEED BACKUP, using one of the following forms of the command:

    • REPORT NEED BACKUP RECOVERY WINDOW OF n DAYS

      Displays objects requiring backup to satisfy a recovery window-based retention policy

    • REPORT NEED BACKUP REDUNDANCY n

      Displays objects requiring backup to satisfy a redundancy-based retention policy

    • REPORT NEED BACKUP DAYS n

      Displays files that require more than n days' worth of archived redo log files for recovery

    • REPORT NEED BACKUP INCREMENTAL n

      Displays files that require application of more than n incremental backups for recovery

    Using RMAN REPORT NEED BACKUP with Tablespaces and Datafiles

    The REPORT NEED BACKUP command can check the entire database, skip specified tablespaces, or check only specific tablespaces or datafiles against different retention policies, as shown in the following examples:

    REPORT NEED BACKUP RECOVERY WINDOW OF 2 DAYS DATABASE SKIP TABLESPACE TBS_2;
    REPORT NEED BACKUP REDUNDANCY 2 DATAFILE 1;
    REPORT NEED BACKUP TABLESPACE TBS_3; # uses configured retention policy
    REPORT NEED BACKUP INCREMENTAL 2; # checks entire database

    Using REPORT NEED BACKUP with Backups on Tape or Disk Only

    You can limit the backups tested by the REPORT NEED BACKUP command to disk-based or tape-based backups only, as shown in these examples:

    REPORT NEED BACKUP RECOVERY WINDOW OF 2 DAYS DATABASE DEVICE TYPE sbt;
    REPORT NEED BACKUP DEVICE TYPE DISK;
    REPORT NEED BACKUP TABLESPACE TBS_3 DEVICE TYPE sbt;

    官方参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmreprt.htm#CHDDBJHC

  • 相关阅读:
    jquery开发之第一个程序
    结构体大小求值
    SpringMVC 理论与有用技术(一) 简单、有用、易懂的几个实例
    北极的夜空
    Assignment (HDU 2853 最大权匹配KM)
    让linux history命令显示命令的运行时间、在哪个机器运行的这个命令
    [0day]基础工具学习
    Matlab adaptive quadrature
    计蒜之道 初赛 第三场 题解 Manacher o(n)求最长公共回文串 线段树
    辛星跟您解析在CSS面包屑中三角形的定位问题
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317170.html
Copyright © 2011-2022 走看看