首页 > 其他 > 详细

rman并行度设置

时间:2019-11-27 13:15:46      阅读:99      评论:0      收藏:0      [点我收藏+]

1.提高备份与恢复操作的性能,并且拥有实现并行操作的硬件,就应该启用并行机制并执行测试,确定最优并行度。
2.如果服务器拥有多块CPU,但仅有一个存储位置,也可以启动多通道
##一个CPU任一时刻只能处理一个事务
3.配置并行度
RMAN>configure device type disk parallelism 4;(服务器有4颗CPU)
4.配置多位置多通道写入
RMAN>configure device type disk parallelism 4;
RMAN>configure channel 1 device type disk format ‘/u01/bk/rman1/rman1_%U.bkp‘;
RMAN>configure channel 2 device type disk format ‘/u01/bk/rman2/rman2_%U.bkp‘;
RMAN>configure channel 3 device type disk format ‘/u01/bk/rman3/rman3_%U.bkp‘;
RMAN>configure channel 4 device type disk format ‘/u01/bk/rman4/rman4_%U.bkp‘;
####注意:如果配置的并行度大于通道数,rman会启动没配置的通道并将备份写入FRA.
5.清除并行度
RMAN>configure device type disk clear;
6.清除通道的设备类型(下面只是清除了4号通道)
RMAN>configure channel 4 device type disk clear;

rman并行度设置

原文:https://www.cnblogs.com/gediao-kill/p/11940623.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!