My Oracle Support Banner

DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL Is Not Purging Audit Records From SYS.AUD$ Due to Multiple Non-Existent DBIDs Entries in DBA_AUDIT_MGMT_LAST_ARCH_TS View (Doc ID 2429746.1)

Last updated on FEBRUARY 19, 2020

Applies to:

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

Symptoms

Unable to purge audit records from SYS.AUD$ using DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL procedure. The SYS.AUD$ table is growing and not getting purged correctly as per last archive timestamp value set in SYS.DBA_AUDIT_MGMT_LAST_ARCH_TS View.

This behavior is observed despite all the setup for using DBMS_AUDIT_MGMT package is done. 

Changes

 No Change has been made. 

Cause

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
Symptoms
Changes
Cause
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.