My Oracle Support Banner

(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 to [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

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