使用 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 估算综合评估备份时间
最新文章
- Masonry记录——iOS适配
- Visual Studio 2015 Bowser Link的功能不停的向服务端发送请求
- session如何保存在专门的StateServer服务器中
- 转: sql server2008 字段类型详解
- Effective C++ 学习笔记[2]
- CENTOS7设置显示中文
- [python]魔术方法
- 最近使用Qt遇到的一些小问题解决办法总结
- HDU 5794 - A Simple Nim
- Dating with girls(1)(二分+map+set)
- (转)什么是P问题、NP问题和NPC问题
- View.post() 不靠谱的地方你知道吗?
- width属性
- Mac下安装Mongodb
- Xshell不能使用退格、删除键进行删除的解决方法
- Percona-XtraBackup系列三:增量备份恢复
- HDU 2492 Ping pong (数状数组)
- Django实现自定义template页面并在admin site的app模块中加入自定义跳转链接
- makefile 中wildcard
- php常量PHP_EOL