My Oracle Support Banner

Cannot Create Streams Queue (Doc ID 2116242.1)

Last updated on JANUARY 03, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
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.

Goal

Customer is receiving an ORA-955 trying to create a queue, but cannot drop it;

BEGIN DBMS_STREAMS_ADM.SET_UP_QUEUE(queue_table =>'<Queue Tablename>', queue_name => '<Queue name>', queue_user => 'STREAMS_ADMIN'); END;

*
ERROR at line 1:
ORA-00955: name is already used by an existing object
ORA-06512: at "SYS.DBMS_STREAMS_ADM_IVK", line 760
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 269
ORA-06512: at line 1

STREAMS_ADMIN @EPAT1> exec DBMS_AQADM.drop_queue_table('<Queue Tablename>',TRUE);
BEGIN DBMS_AQADM.drop_queue_table('<Queue Tablename>',TRUE); END;

*
ERROR at line 1:
ORA-24002: QUEUE_TABLE STREAMS_ADMIN.<Queue Tablename> does not exist
ORA-06512: at "SYS.DBMS_AQADM", line 388
ORA-06512: at line 1

 

Solution

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
Goal
Solution
References


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