Deleting the Archive Log in Using RMAN in oracle

run {
allocate channel for delete type disk;
change archivelog until time ‘SYSDATE-7′ delete;
release channel;
}

OR

BACKUP ARCHIVELOG UNTIL TIME ‘SYSDATE-7′;
DELETE COPY OF ARCHIVELOG ALL COMPLETED BEFORE ‘SYSDATE-14′;

OR

allocate channel for delete type disk;
change archivelog until time ‘SYSDATE-7′ delete;
release channel;

 

 

Visit Us On FacebookVisit Us On Google PlusVisit Us On Youtube