UPD: use multiple channels and parallelism of 3

This commit is contained in:
xpk 2022-10-07 16:37:54 +08:00
parent 6b9e7e376b
commit e210e9e783
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
1 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
connect target /
configure device type disk parallelism 3;
CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5G;
run {
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK MAXPIECESIZE 5G;
crosscheck archivelog all;
backup archivelog all not backed up 1 times format '/orabackup/arch/%d/%s_%p_%e_%t';
release channel disk1 ;
backup archivelog all not backed up 1 times format '/orabackup/arch/%d_%s_%p_%e_%t';
}
run
{
run {
delete noprompt archivelog until time = 'sysdate-2' backed up 1 times to device type disk;
}