Oracle Database 12c New Features

RMAN Command

LIST
RMAN>list archivelog all;
RMAN>list copy of archivelog until time ‘SYSDATE-10’;
RMAN>list copy of archivelog from time ‘SYSDATE-10’
RMAN>list copy of archivelog from time ‘SYSDATE-10’ until time ‘SYSDATE-2’;
RMAN>list copy of archivelog from sequence 1000;
RMAN>list copy of archivelog until sequence 1500;
RMAN>list copy of archivelog from sequence 1000 until sequence 1500;

DELETE
RMAN>delete archivelog all;
RMAN>delete archivelog until time ‘SYSDATE-10’;
RMAN>delete archivelog from time ‘SYSDATE-10’
RMAN>delete archivelog from time ‘SYSDATE-10’ until time ‘SYSDATE-2’;
RMAN>delete archivelog from sequence 1000;
RMAN>delete archivelog until sequence 1500;
RMAN>delete archivelog from sequence 1000 until sequence 1500;
RMAN>delete noprompt archivelog until time ‘SYSDATE-10’;
RMAN>delete noprompt archivelog all completed before 'sysdate - 1/24'; #keep 1 hour
RMAN>delete noprompt archivelog all completed before 'sysdate - 1/48'; #keep 30 mins