Oracle RMAN 10g中如何提高copy datafile的并发
try something like this:
format后面修改为你复制的目标文件名
run
{ allocate channel mac01 DEVICE TYPE DISK MAXOPENFILES=1 PARMS=’BLKSIZE=1048576′ ;
allocate channel mac02 DEVICE TYPE DISK MAXOPENFILES=1 PARMS=’BLKSIZE=1048576′ ;
allocate channel mac03 DEVICE TYPE DISK MAXOPENFILES=1 PARMS=’BLKSIZE=1048576′ ;
allocate channel mac04 DEVICE TYPE DISK MAXOPENFILES=1 PARMS=’BLKSIZE=1048576′ ;
backup as copy (datafile ‘+DATADG/MAC/DATAFILE/system. 258.819691771′ format ‘/s01/backup/system.dbf’ channel mac01)
(datafile ‘+DATADG/MAC/DATAFILE/sysaux. 257.819691725′ format ‘/s01/backup/sysaux.dbf’ channel mac02)
(datafile ‘+DATADG/MAC/DATAFILE/ undotbs1.260.819691817′ format ‘/s01/backup/undotbs1.dbf’ channel mac03);
}
Comment