ORA-02002 and ORA-09817 Occur When AUDIT_TRAIL=Xml,Extended

(Doc ID 759351.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Oracle Server - Enterprise Edition - Version to [Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 04-Oct-2012***


After setting AUDIT_TRAIL to XML,EXTENDED, some transactions fail with errors like:
ORA-02002: error while writing to the audit trail
ORA-09817: Write to audit file failed.
This happens when the audited statements run commands with very large binds attached or when the number of binds is so large that the size  of the concatenated bind variables becomes very large.


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