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

    621.You have enabled backup optimization for the RMAN environment. Identify two criteria on which

    RMAN will skip the file, if it has already been backed up. (Choose two.)

    A. The data file backup is done with multiple channels

    B. The data files is in the read-write mode after being backed up in the read only mode

    C. The backup was taken after the data files was taken offline-normal or is in the read only mode

    D. The data file backup complies with the back retention policy and the backup duplexing feture

    Answer: CD

    答案解析:

    参考1:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmbckad.htm#BRADV89548


    Example 10-1 Configuring Backup Optimization

    CONFIGURE DEFAULT DEVICE TYPE TO sbt;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 4 DAYS;

    With RMAN configured as shown in Example 10-1, you run the following command every night to back up the database to tape:

    BACKUP DATABASE;

    Because backup optimization is configured, RMAN skips backups of offline and read-only data files only if the most recent backups were made on or after the earliest point in the recovery window. RMAN does not skip backups when the most recent backups are older than the window. For example, optimization ensures you do not end up with a new backup of a read-only data file every night, so long as one backup set containing this file exists within the recovery window.

    参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta010.htm#RCMRF90093


    BACKUP OPTIMIZATION
    [ON | OFF | CLEAR]
    Toggles backup optimization ON or OFF (default). Specify CLEAR to return optimization to its default value of OFF.

    Backup optimization is enabled when all of the following conditions are met:

    • The CONFIGURE BACKUP OPTIMIZATION ON command has been run.

    • You run BACKUP DATABASEBACKUP ARCHIVELOG with the ALL or LIKE options, BACKUP BACKUPSET ALLBACKUP RECOVERY AREABACKUP RECOVERY FILES, or BACKUP DATAFILECOPY.

    • The RMAN job uses a channel of only one device type.

    Optimization prevents RMAN from backing up a file to a device type if the identical file is already backed up on the device type. RMAN does not signal an error if backup optimization causes all files to be skipped during a backup. The backup retention policy affects which files backup optimization skips.

    For two files to be identical, their content must be exactly the same, as described in Table 2-3. When you create backup pieces on disk or on media managed by Oracle Secure Backup, optimization excludes undo data from the backup when the data does not belong to an active transaction.

    Note: BACKUP ... DELETE INPUT deletes all specified archived redo logs whether or not optimization skips these files during a backup.

    Note: You can override backup optimization with the FORCE option of the BACKUP command.

    See Also: Oracle Database Backup and Recovery User's Guide for a description of how RMAN determines that it can skip the backup of a file


    Example 2-48 Optimizing Backups

    This scenario illustrates the backup optimization behavior described in Table 2-3. Assume that backup optimization is disabled. At 9 a.m., you back up three copies of all existing archived redo log files to tape.

    The BACKUP_TAPE_IO_SLAVES initialization parameter must be true when duplexing backups to tape.

    BACKUP DEVICE TYPE sbt COPIES 3 ARCHIVELOG ALL;

    At 11 a.m., you enable backup optimization:

    CONFIGURE BACKUP OPTIMIZATION ON;

    At noon, you run the following archived redo log backup:

    BACKUP DEVICE TYPE sbt COPIES 2 ARCHIVELOG ALL;
     
    Starting backup at 19-JAN-07
    current log archived
    using channel ORA_SBT_TAPE_1
    skipping archived log file /d1/db1r_605ab325_1_34_612112605.arc; already backed up 3 time(s)
    skipping archived log file /d1/db1r_605ab325_1_35_612112605.arc; already backed up 3 time(s)
    skipping archived log file /d1/db1r_605ab325_1_36_612112605.arc; already backed up 3 time(s)
    skipping archived log file /d1/db1r_605ab325_1_37_612112605.arc; already backed up 3 time(s)
    skipping archived log file /d1/db1r_605ab325_1_38_612112605.arc; already backed up 3 time(s)
    skipping archived log file /d1/db1r_605ab325_1_39_612112605.arc; already backed up 3 time(s)
    channel ORA_SBT_TAPE_1: starting archived log backup set
    channel ORA_SBT_TAPE_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=40 RECID=170 STAMP=612270506
    channel ORA_SBT_TAPE_1: starting piece 1 at 19-JAN-07
    channel ORA_SBT_TAPE_1: finished piece 1 at 19-JAN-07 with 2 copies and tag TAG20070119T110827
    piece handle=2hi7t0db_1_1 comment=API Version 2.0,MMS Version 10.1.0.0
    piece handle=2hi7t0db_1_2 comment=API Version 2.0,MMS Version 10.1.0.0

    In this case, the BACKUP ... COPIES setting overrides the CONFIGURE ... COPIES setting, so RMAN sets n=2. RMAN skips the backup of a log only if at least two copies of the log exist on the sbt device. Because three copies of each log exist on sbt of all the logs generated on or before 9 a.m., RMAN skips the backups of these logs. However, RMAN backs up two copies of all logs generated after 9 a.m. because these logs have not yet been backed up to tape.


  • 相关阅读:
    eclipse中Preferences的一些设置
    eclipse中文乱码问题解决方案
    classpath、path、JAVA_HOME的作用
    java中抽象类与接口中方法访问修饰符问题 (
    Tomcat配置
    编译型语言和解释型语言
    强类型语言和弱类型语言
    javascript生成指定范围的随机整数
    java中int和Integer的区别
    红黑树入门
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315974.html
Copyright © 2011-2022 走看看