I am pretty sure of having found the solution to most of the above questions.
DEQUEUED_MSGS
can be greater thanENQUEUED_MSGS
in case of reboot of a database. Queue Entries that are still in the Queue Table will remain there. After database reboot, the entries will get dequeued and added to the number of dequeued messages, but they won't get added to the number of enqueued messages.- The Field
ENQUEUED_MSGS
is the sum of all messages that got enqueued into the Queue. - The Field
ENQUEUED_DELAY_MSGS
is the sum of all messages enqueued with delay. ENQUEUED_MSGS - ENQUEUED_DELAY_MSGS
= All messages that got enqueued without delay- The same is for
DEQUEUED_MSGS
(all) andMSGS_MADE_READY
(only with delay).
I don't know yet what ENQUEUE_TRANSACTIONS
and DEQUEUE_TRANSACTIONS
mean (maybe DEQUEUE_TRANSATIONS
describes the number of dequeues of one message in a multi consumer queue), but I won't use those fields.