Dbms_audit_mgmt.clean_audit_trail Purges Unexpected Audit Records When Using Last Archive Timestamp

(Doc ID 2100923.1)

Last updated on FEBRUARY 25, 2016

Applies to:

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

Symptoms

When executing Dbms_audit_mgmt.Clean_audit_trail () with parameter use_last_arch_timestamp => true,
we expect that all audit records older than the specified timestamp will be removed from the audit trail.

For example, let's say we have following audit trail, and last archive timestamp is set to
"2016/01/05 09:29:08.538915". We expect only the first audit record to be removed.

 

Cause

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