ARCHIVELOG

Check

SELECT log_mode 

FROM v$database;

Enable

sqlplus / as sysdba

SHUTDOWN IMMEDIATE

STARTUP MOUNT

ALTER DATABASE ARCHIVELOG;

ALTER DATABASE OPEN;

Disable

sqlplus / as sysdba

SHUTDOWN IMMEDIATE

STARTUP MOUNT

ALTER DATABASE NOARCHIVELOG;

ALTER DATABASE OPEN;

Delete

rman target /

crosscheck archivelog all;

delete noprompt expired archivelog all;

delete archivelog all completed before 'SYSDATE-5';

delete archivelog until time 'SYSDATE-10';

Errors

RMAN-08120: warning: archived log not deleted, not yet applied by standby 

If your standby is broken and you intend to rebuild it rather than recover it, then using 'force' might be useful...

delete force archivelog all completed before 'SYSDATE-5';

Bibliography