How to efficiently remove messages associated with an unwanted Recipient

(Doc ID 550274.1)

Last updated on SEPTEMBER 02, 2015

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 8.1.7 to 11.2]
Information in this document applies to any platform.


PROCESSED messages are not being removed from a multi-consumer queue table.

select count(*), msg_state, consumer_name, queue from aq$<queue_table> group by msg_state, consumer_name, queue; reveals something similar to the following

----------  ---------------- -------------   ------
10327093    READY            OKS             ASO_OF_Q
9839525     READY            OZF             ASO_OF_Q
4900176     PROCESSED        OKS             ASO_OF_Q

select * from aq$ASO_ORDER_FEEDBACK_T_S;

returns 'no rows selected'


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