利用RMAN的cate限制RMAN备份速度

2025-12-14Oracle / RMAN

#

1 [Normal] From: BSM@acap3 "DB_mod1_a" Time: 2013-3-14 3:00:05
2 OB2BAR application on "moddb1" successfully started.
3 … …
4 [Normal] From: BSM@acap3 "DB_mod1_a" Time: 2013-3-14 4:46:12
5 Backup Statistics:
6 … …
7 Mbytes Total …………….. 365358 MB
1 run {
2 allocate channel 'dev_0' type disk rate 20m;
3 allocate channel 'dev_1' type disk rate 20m;
4 backup database;
5 sql 'alter system archive log current';
6 backup
7 archivelog all delete input;
8 }
1 By default, RMAN uses all available I/O bandwidth to read/write to disk. You can limit the I/O resources consumed by a backup job with the RATE option of the ALLOCATE CHANNEL or CONFIGURE CHANNEL commands. The RATE option specifies the maximum number of bytes for each second that RMAN reads on the channel.
2 For example, you can configure automatic channels to limit each channel to read 1 MB a second:
3 CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
4 CONFIGURE DEFAULT DEVICE TYPE TO sbt;
5 CONFIGURE CHANNEL DEVICE TYPE sbt RATE 1M;
6 In effect, the RATE option throttles RMAN so that a backup job does not consume excessive I/O bandwidth on the computer.

http://www.dbdream.com.cn/2013/03/%e5%88%a9%e7%94%a8rman%e7%9a%84cate%e9%99%90%e5%88%b6rman%e5%a4%87%e4%bb%bd%e9%80%9f%e5%ba%a6/ | 信春哥,系统稳,闭眼上线不回滚!