(G)V$AQ View Showing Incorrect Value On Column "READY" For Multi-Consumer Queues
(Doc ID 1057026.1)
Last updated on JANUARY 30, 2022
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.2 to 10.2.0.4 [Release 10.2]
Information in this document applies to any platform.
Column "READY" of view (g)V$AQ does not match with "MSG_STATE" column from queue table AQ$<queue table>.
The messages count will not decrease, even if they have been processed already at the queue table. They will decrease only once qmn process takes in place and clean the processed messages at the queue table.
With this behavior, views v$aq or gv$aq are unusable on fly to retrieve the real number of messages in "READY" status.
Using Streams Advanced Queueing feature.
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