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 10.2.0.1 to 10.2.0.3 [Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 04-Oct-2012***

Symptoms

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.

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