My Oracle Support Banner

Configure RMAN to purge archivelogs after applied on standby (Doc ID 728053.1)

Last updated on JULY 25, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
 
*******   ********

Goal

We need RMAN to automatically purge archivelogs from the FRA once they are applied to the standby database.

 

 

1) From bug 6216036:

In 10g, the archive log deletion policy configured using CONFIGURE command
applies only to automatic deletion of archived logs by Flash Recovery Area.
The other deletion mechanisms like DELETE ARCHIVELOG or DELETE INPUT does not
respect this configuration.


2)APPLIED ON STANDBY- enables flash recovery area to delete archivelogs that are applied on mandatory standby.

See Oracle Data Guard Concepts and Administration for details.

http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta015.htm#sthref289


This restriction is lifted in 11g.

 

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.