Unable To Purge All Unified_audit_trail Records where UNIFIED_AUDIT_POLICIES is null and action_name='LOGOFF BY CLEANUP';

(Doc ID 1944147.1)

Last updated on OCTOBER 22, 2016

Applies to:

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


Audit entries from UNIFIED_AUDIT_TRAIL having a NULL value for UNIFIED_AUDIT_POLICIES  null and  ACTION_NAME equal to 'LOGOFF BY CLEANUP'  are not deleted by dbms_audit_mgmt.

The issue can be reproduced at will with the following steps:

1. Install RDBMS, configured it in mixed mode or unified auditing only
2. Open a session with the user SCOTT and kill it using alter system kill session
3. Check that there is a row created using:



5. Check the contents of UNIFIED_AUDIT_TRAIL once again.


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