My Oracle Support Banner

ORA-02002 and ORA-09817 Occur When AUDIT_TRAIL=Xml,Extended (Doc ID 759351.1)

Last updated on AUGUST 04, 2018

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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.