How to efficiently remove messages associated with an unwanted Recipient
(Doc ID 550274.1)
Last updated on NOVEMBER 08, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [Release 8.1.7 to 11.2]
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.
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'
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