我想知道 oracle 表上的字段的GV$PERSISTENT_QUEUES
真正含义。
文档:
ENQUEUED_MSGS NUMBER Number of messages enqueued
DEQUEUED_MSGS NUMBER Number of messages dequeued
Note: This column will not be incremented until all the subscribers of the message have dequeued the message and its retention time has elapsed.
...
ENQUEUED_EXPIRY_MSGS NUMBER Number of messages enqueued with expiry
ENQUEUED_DELAY_MSGS NUMBER Number of messages enqueued with delay
MSGS_MADE_EXPIRED NUMBER Number of messages expired by time manager
MSGS_MADE_READY NUMBER Number of messages made ready by time manager
...
ENQUEUE_TRANSACTIONS NUMBER Number of enqueue transactions
DEQUEUE_TRANSACTIONS NUMBER Number of dequeue transactions
我的问题:
- 出队消息的数量如何大于入队消息的数量?
- 如果有一定延迟的消息被添加到队列中,它们是否被计算在
ENQUEUED_MSGS
和ENQUEUED_DELAY_MSGS
? - 如果有一定延迟的消息在延迟之后被传递,它会被计算在
DEQUEUED_MSGS
和MSGS_MADE_READY
吗?- 如果是这样,怎么可能
MSGS_MADE_READY
大于ENQUEUED_DELAY_MSGS
?
- 如果是这样,怎么可能
- 字段
ENQUEUED_EXPIRY_MSGS
和MSGS_MADE_EXPIRED
含义是什么? ENQUEUED_MSGS
和 和出列有什么区别ENQUEUE_TRANSACTIONS
?
提前感谢您的帮助!