Archive Logs Not Getting Deleted In A Data Guard Environment

(Doc ID 732628.1)

Last updated on OCTOBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Standby has been configured and so have two archive destinations, one destination is pointing to standby and another destination pointing to local directory.

In v$archived_log, backup_count for a specific archivelog is shown as 2 and in the "list backup" output, it is confirmed that both the backups are done on tape but still the following command is not deleting archives

run {
allocate channel 't1' type 'sbt_tape' parms parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin/tdpo_ETISP.opt)';
backup archivelog all not backed up 2 times;
delete noprompt archivelog all completed before 'sysdate-2' backed up 2 times to device type sbt_tape; }


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms