zoukankan      html  css  js  c++  java
  • 使用 rman duplicate from active database 搭建dataguard 手记--系列二



    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate channel prmy6 type disk;
    allocate channel prmy7 type disk;
    allocate channel prmy8 type disk;
    allocate channel prmy9 type disk;
    allocate channel prmy10 type disk;

    allocate auxiliary channel stby1 type disk;
    allocate auxiliary channel stby2 type disk;
    allocate auxiliary channel stby3 type disk;
    allocate auxiliary channel stby4 type disk;
    allocate auxiliary channel stby5 type disk;
    allocate auxiliary channel stby6 type disk;
    allocate auxiliary channel stby7 type disk;
    allocate auxiliary channel stby8 type disk;
    allocate auxiliary channel stby9 type disk;
    allocate auxiliary channel stby10 type disk;
    duplicate target database for standby from active database dorecover;
    }


    dorecover:会将备份期间产生的归档日志应用到standby database,可是不会启动日志应用(not  use manual or managed recovery mode.
    Specifies that RMAN should recover the standby database after creating it.

    If DORECOVER is specified, then RMAN also recovers the database. The standby database is left mounted after duplication is complete.

    RMAN leaves the standby database mounted after media recovery is complete, but does not place the standby database in manual or managed recovery mode. After RMAN creates the standby database, you must resolve any gap sequence before placing it in manual or managed recovery mode, or opening it in read-only mode.


    注意点:
    在磁盘io不是瓶颈时,一定要考虑下网络带宽;
    依据网络带宽,rman 估算综合评估备份时间



  • 相关阅读:
    使用C#中的DirectorySearcher来获得活动目录中的组织结构与用户等信息,并在展示成树形结构(附源代码)
    oracle的简单操作和要注意的地方
    lambda匿名函数
    Linux查看系统信息(版本、cpu、raid)
    chmod 777后,目录权限不可写解决方法
    linux /boot空间满了如何清理
    k3s
    IDEA项目编译参数Werror设置
    minicube 安装
    ubuntu安装docker
  • 原文地址:https://www.cnblogs.com/clnchanpin/p/7217741.html
Copyright © 2011-2022 走看看