Oracle 视图 V$AQ_NONDUR_SUBSCRIBER_LWM 官方解释,作用,如何使用详细说明

本站中文解释

V$AQ_NONDUR_SUBSCRIBER_LWM是一个视图,由Oracle自动维护,它提供Oracle Streams Advanced Queuing(AQ)的非持久订阅者的当前底层低水位(LWM)。

使用方法:

可以使用V$AQ_NONDUR_SUBSCRIBER_LWM视图来查看Oracle Streams AQ非持久订阅者当前LWM来识别他们接收哪些消息。它以这样的方式与一般的DDL功能一起使用:

SELECT subscriber_name, lwm FROM v$aq_nondur_subscriber_lwm;

此查询将返回所有非持久订阅者的名称和当前低水位。

官方英文解释

V$AQ_NONDUR_SUBSCRIBER_LWM projects the low watermarks (LWMs) of non-durable subscribers in a sharded queue. The LWM of a non-durable subscriber is a combination of shard, priority and LWM (subshard).

Note:

AQ sharded queues are deprecated in Oracle Database 21c. Oracle recommends that you instead use Transactional Event Queues (TEQs) for higher throughput and better performance.

Column Datatype Description

QUEUE_ID

NUMBER

Queue ID

SUBSCRIBER_ID

NUMBER

ID of the non-durable subscriber

SHARD_ID

NUMBER

Shard ID

PRIORITY

NUMBER

Priority of the shard

LWM

NUMBER

Lower watermark (in a subshard) of the non-durable subscriber

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

See Also:

Oracle Database Advanced
Queuing User’s Guide
for more information about Oracle Database Advanced Queueing


数据运维技术 » Oracle 视图 V$AQ_NONDUR_SUBSCRIBER_LWM 官方解释,作用,如何使用详细说明