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

    597.What command would you use to set a persistent setting in RMAN so that backups are all written to a tape device?

    A. CONFIGURE DEFAULT DEVICE TYPE TO TAPE MEDIA

    B. CONFIGURE DEFAULT DEVICE TYPE TO TAPE

    C. CONFIGURE DEFAULT DEVICE TYPE TO SBT

    D. CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPE

    Answer: C

    答案解析:

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



    DEFAULT DEVICE TYPE TO
    deviceSpecifie
    Specifies the default device type for automatic channels. By default, DISK is the default device type. CLEARreturns the default device type to DISK.

    By default, the BACKUP command only allocates channels of the default device type. For example, if you configure automatic channels for DISK and sbt and set the default device type to sbt, then RMAN only allocates tape channels when you run the BACKUP DATABASE command. You can override this behavior either by manually allocating channels in a RUN command, or by specifying DEVICE TYPE on the BACKUP command itself (seeExample 2-42).

    The RESTORE command allocates automatic channels of all configured device types, regardless of the default device type. The RESTORE command obeys the PARALLELISM setting for each configured device type.

    Example 2-42 Overriding the Default Device Type

    This example configures duplexing to 2 for DISK backups of data files and control files (control file autobackups on disk are a special case and are never duplexed), then configures sbt as the default device.

    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
    CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'ENV=(OB_DEVICE_1=tape1)';
    CONFIGURE DEFAULT DEVICE TYPE TO sbt;

     
  • 相关阅读:
    Spring-data-jpa 笔记(一)
    grpc详解 java版
    快速入门正则表达式
    异常的处理
    一位资深程序员大牛给予Java初学者的学习路线建议
    this用法
    静态代码块与非静态代码块
    类的成员变量--构造器
    Java并发机制及锁的实现原理
    JAVA内存模型
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316403.html
Copyright © 2011-2022 走看看