My Oracle Support Banner

Enqueue Message Larger Than 1 MB - OCI Application Reports ORA-03146: invalid buffer length for TTC field (Doc ID 2515218.1)

Last updated on MAY 12, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


In a database, enqueue of a message of RAW type and length greater or equal to 1048576 (hex 100000), OCI application reports the following error:


Creating the OCI Environment
Allocating all Handles and Connecting...
Error Handle
Server Handle
Service Context
Setting Attribute
Connecting as AQUSER
Obtain the TDO of the RAW data type
Prepare the message payload
Enqueue the message into raw_msg_queue

Error - ORA-03146: invalid buffer length for TTC field


 Upgraded 11g database to 12c.  This issue didn't exist in 11g.


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.