Database Security Products (MOSC)

MOSC Banner

Cleaning of unified_audit_trail will take weeks

Oracle 19.18.0 (Enterprise Edition) :

Due to a clumsy SQL statement, there are 28,394,079 data records in the unified_audit_trail.

The attempt to delete these (DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL) will take longer than 2 weeks. Since this database is restarted every 2 weeks, it is not possible to delete all data records from unified_audit_trail. Unfortunately, there are only partitions on a monthly basis.

Is there a way to delete the oldest partition? Or a way to delete the data from the unified_audit_trail?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center