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;

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *

Visit Us On FacebookVisit Us On Google PlusVisit Us On Youtube