zoukankan      html  css  js  c++  java
  • RMAN之参数BACKUP_TAPE_IO_SLAVES

    ocp 053:

    656.The BACKUP_TAPE_IO_SLAVES parameter is set to FALSE for the database instance. Which

    statement is true while performing a tape backup in an RMAN session?

    A. The tape I/O performed is asynchronous

    B. The tape buffer is allocated from the System Global Area (SGA)

    C. The tape buffer is allocated from the Program Global Area (PGA)

    D. Oracle I/O uses an interrupt mechanism to determine when each I/O completes

    Answer: C

    答案解析:

    参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmtunin.htm#BRADV90074

    sys@TEST0910> show parameter BACKUP_TAPE_IO_SLAVES
     
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    backup_tape_io_slaves                boolean     FALSE

    BACKUP_TAPE_IO_SLAVES specifies whether I/O server processes (also called slaves) are used by Recovery Manager to back up, copy, or restore data to tape. When the value is set to true, Oracle uses an I/O server process to write to or read from a tape device. When the value is set to false (the default), Oracle does not use I/O server process for backups. Instead, the shadow process engaged in the backup accesses the tape device.

    Note:

    You cannot perform duplexed backups unless you enable this parameter. Otherwise, Oracle returns an error. When this parameter is enabled, Recovery Manager will configure as many server processes as needed for the number of backup copies requested.
    Tape I/O Slaves

    RMAN allocates the tape buffers in the System Global Area (SGA) or the Program Global Area (PGA), depending on whether I/O slaves are used. If you set the initialization parameter BACKUP_TAPE_IO_SLAVES=true, then RMAN allocates tape buffers from the SGA. Tape devices can only be accessed by one process at a time, so RMAN starts as many slaves as necessary for the number of tape devices. If the LARGE_POOL_SIZE initialization parameter is also set, then RMAN allocates buffers from the large pool. If you set BACKUP_TAPE_IO_SLAVES=false, then RMAN allocates the buffers from the PGA.

    If you use I/O slaves, then set the LARGE_POOL_SIZE initialization parameter to dedicate SGA memory to holding these large memory allocations. This parameter prevents RMAN I/O buffers from competing with the library cache for SGA memory. If I/O slaves for tape I/O were requested but there is not enough space in the SGA for them, slaves are not used, and a message appears in the alert log.

    The parameter BACKUP_TAPE_IO_SLAVES specifies whether RMAN uses slave processes rather than the number of slave processes. Tape devices can only be accessed by one process at a time, and RMAN uses the number of slaves necessary for the number of tape devices.

    BACKUP_TAPE_IO_SLAVES
    specifies whether I/O server processes (also called slaves) are used by Recovery Manager to back up, copy, or restore data to tape.
    TRUE
    When the value is set to true, Oracle uses an I/O server process to write to or read from a tape device.then RMAN allocates tape buffers from the SGA.
    False
    Oracle does not use I/O server process for backups. Instead, the shadow process engaged in the backup accesses the tape device.then RMAN allocates the buffers from the PGA.

  • 相关阅读:
    java——io、字节流缓冲区拷贝文件、字节缓冲流
    java——斗地主小游戏之洗牌发牌
    java——HashMap、Hashtable
    java——模拟新浪微博用户注册
    [bzoj 1492][NOI2007]货币兑换Cash
    [bzoj 1010][HNOI 2008]玩具装箱
    [bzoj 2875][noi2012]随机数生成器
    [bzoj 4872][六省联考2017]分手是祝愿
    [bzoj 3566][SHOI 2014]概率充电器
    [bzoj 3534][Sdoi2014] 重建
  • 原文地址:https://www.cnblogs.com/gispf/p/3792386.html
Copyright © 2011-2022 走看看