Archive Log Removal and Configuration

Archive logs that are managed by ASM can be removed from ASM when they are no longer needed by Replication Agent for Oracle.

When pdb_archive_remove is set to true and the archive logs are managed by ASM, pdb_archive_path must be set to the name of the ASM disk group in which the archive logs are stored. The disk group name must be preceded with a plus sign (+) indicating that the path is an ASM path. For example:

pdb_archive_remove=true
pdb_archive_path=+DISK_GROUP1

Archive logs stored in and managed by ASM are owned by the corresponding unique Oracle database name. If the Oracle database name differs from the global unique database name, pdb_archive_path must be set to both the name of the ASM disk group and the globally unique name of the database in which the archive logs are stored:

pdb_archive_path=+DISK_GROUP1/database_name

In addition to automatic removal of archive logs from ASM, manual removal is supported with pdb_truncate_xlog. pdb_archive_path must be set to the ASM disk group name and preceded with a plus (+) sign for archive logs to be manually removed.

Note: rman_enabled enables Replication Agent to use the Oracle RMAN utility to truncate old archive log files. See the Replication Agent Reference Manual.