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.

  • 相关阅读:
    设计模式之适配器模式(Adapter)
    数组中的趣味题(二)
    VSTS 2008 自定义签入代码审查策略
    自定义 Vista 系统下程序运行级别
    全国省份,城市,地区全数据(SQL版与XML版)包括各城市邮编
    LINQ 从数据库读数据生成 XML
    IE 8 Beta 2 初体验 隐藏了的"IE7模式"
    利用宏帮助快速录入代码
    你现在的生活是你n年前决定的
    控制参数个数的几种方式
  • 原文地址:https://www.cnblogs.com/gispf/p/3792386.html
Copyright © 2011-2022 走看看