# Oracle Unified Auditing Performance Issues and 12.2 Improvements

- URL: https://www.integrigy.com/security-resources/oracle-unified-auditing-performance-issues-and-122-improvements
- Published: 2017-04-25
- Type: Article
- Products: Oracle Database
- Focus areas: Auditing
- Applies to: DB 12c

> Post on the poor performance of reading UNIFIED_AUDIT_TRAIL in Oracle 12.1 and the partitioned AUDSYS.AUD$UNIFIED table that Oracle 12.2 adds to fix it.

For those of you using and/or considering Unified Auditing, in case you might have missed, Oracle has made significant changes to Unified Auditing in 12.2. Unified Auditing, new in Oracle 12c, represents a complete rewrite of how native database auditing works - see the links below for Integrigy research on Unified Auditing.

With Oracle 12.1, when using Unified Auditing, reads of the UNIFIED_AUDIT_TRAIL view were not performant. With Oracle 12.2, a new relational partitioned table (AUDSYS.AUD$UNIFIED) is created to solve the performance issue, and a patch (22782757) has been issued to backport the fix to 12.1.

For 12.1 clients using Unified Auditing, the patch and/or the workaround should be a high priority consideration.

Thank you to Mark Dietrich for pointing out the 12.1 patch.

If you have any questions, please contact us at <info@integrigy.com>

## References

- Oracle Support Note 2063340.1 (Performance Issues While Monitoring the Unified Audit Trail) <https://support.oracle.com/rs?type=doc&id=2063340.1>
- Integrigy Whitepaper: [Oracle 12c Unified Auditing](https://www.integrigy.com/security-resources/oracle-12c-unified-auditing)
- Integrigy Webinar & Presebntation: [Oracle 12c Unified Auditing Webinar](https://www.integrigy.com/security-resources/oracle-12c-unified-auditing-webinar)
- Integrigy Audit Framework Whitepaper: [Integrigy Guide to Database Auditing and Logging](https://www.integrigy.com/security-resources/integrigy-guide-database-auditing-and-logging)
- Mark Dietrich's Blog: <https://mikedietrichde.com/2017/04/19/unified-auditing-performance-improvements-in-oracle-12-1-0-2/>
