My Oracle Support Banner

AQ PL/SQL Notification reporting ORA-06502 when schema.queue_name length is greater than 30 characters (Doc ID 465220.1)

Last updated on NOVEMBER 01, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


User enqueued messages are not being processed when using Advanced Queueing (AQ)  PL/SQL Notification when the schema_name.queue_name of the registered AQ queue is beyond 30 characters.

ORA-06502 reported in job_queue_process trace files similar to the following

ORA-00604: error occurred at recursive SQL level 2
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Error in PLSQL notification of msgid:3CD7BE77CD8400B7E04400127943E258
Consumer Name :
: Exception Occured, Error msg:


Upgrade of the database from a pre-10.2 version to 10.2 onwards.


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.