DBMS_AQADM.REMOVE_SUBSCRIBER does not remove a subscriber from AQ$_<queue_table>_S (Doc ID 822213.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.2 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

An Advanced Queuing subscriber has been removed from the queue table using DBMS_AQADM.REMOVE_SUBSCRIBER.  Still, this subscriber can be seen in the Data Dictionary view AQ$_<queue_table>_S.  The AQ$_<queue_table>_S.SUBSCRIBER_TYPE has changed to 2: "Ex-Subscriber : A subscriber that was removed".  How to remove that subscriber completely from the view AQ$_<queue_table>_S ?

Changes

The subscriber had pending entries in the in the history table AQ$_<queue_table>_H.

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