RMAN提高备份速度

RMAN提供了一个参数来控制并发,并发可用来加速备份速度


RMAN> configure device type disk parallelism 3 backup type to backupset;

old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3

RMAN> backup database format '/backup/rmanbackup/p3_%U';

Starting backup at 21-APR-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=143 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=142 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=135 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/oradata/dbtest/system01.dbf
input datafile fno=00004 name=/u01/oradata/dbtest/users01.dbf
channel ORA_DISK_1: starting piece 1 at 21-APR-12
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00003 name=/u01/oradata/dbtest/sysaux01.dbf
input datafile fno=00007 name=/u01/oradata/dbtest/wenchuan01.dbf
input datafile fno=00008 name=/u01/oradata/dbtest/wenchuan2.dbf
channel ORA_DISK_2: starting piece 1 at 21-APR-12
channel ORA_DISK_3: starting full datafile backupset
channel ORA_DISK_3: specifying datafile(s) in backupset
input datafile fno=00005 name=/u01/oradata/dbtest/example01.dbf
input datafile fno=00002 name=/u01/oradata/dbtest/undotbs01.dbf
input datafile fno=00006 name=/u01/oradata/dbtest/paul01.dbf
channel ORA_DISK_3: starting piece 1 at 21-APR-12
channel ORA_DISK_1: finished piece 1 at 21-APR-12
piece handle=/backup/rmanbackup/p3_0un90fdf_1_1 tag=TAG20120421T172150 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
channel ORA_DISK_1: starting piece 1 at 21-APR-12
channel ORA_DISK_1: finished piece 1 at 21-APR-12
piece handle=/backup/rmanbackup/p3_11n90fej_1_1 tag=TAG20120421T172150 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
channel ORA_DISK_3: finished piece 1 at 21-APR-12
piece handle=/backup/rmanbackup/p3_10n90fdf_1_1 tag=TAG20120421T172150 comment=NONE
channel ORA_DISK_3: backup set complete, elapsed time: 00:00:40
channel ORA_DISK_2: finished piece 1 at 21-APR-12
piece handle=/backup/rmanbackup/p3_0vn90fdf_1_1 tag=TAG20120421T172150 comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:01:15
Finished backup at 21-APR-12

RMAN>               

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15720542/viewspace-721891/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/15720542/viewspace-721891/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值