(G)V$AQ View Showing Incorrect Value On Column "READY" For Multi-Consumer Queues

(Doc ID 1057026.1)

Last updated on FEBRUARY 14, 2013

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.
***Checked for relevance on 14-Feb-2013***

Symptoms

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.

Changes

Using Streams Advanced Queueing feature.

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