Oracle 视图 V$PERSISTENT_SUBSCRIBERS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$PERSISTENT_SUBSCRIBERS视图用于显示存储在数据库中的永久订阅者信息。它是一个动态视图,可以随时查看数据库中的永久订阅者信息。
它显示了订阅者的运行信息,包括订阅的连接、状态等各项信息。它可以用来检查订阅者的运行情况,对潜在故障做好准备以免出现意外情况。
视图V$PERSISTENT_SUBSCRIBERS用于管理订阅者和检查订阅者是否正在正常运行。它可以用于查看当前订阅者是否有效,实时确定潜在错误和不可用情况。它也可以检查未发布的订阅器是否存在,以及发布时间,以此来进行订阅器的管理等。
官方英文解释
V$PERSISTENT_SUBSCRIBERS
displays information about all active subscribers of the persistent queues in the database.
There is one row per instance per queue per subscriber. The rows are deleted when the database (or instance in an Oracle RAC environment) restarts.
Note:
This view does not display information about sharded queues. For information about sharded queues, refer to the “V$AQ_SHARDED_SUBSCRIBER_STAT” view.
Column | Datatype | Description |
---|---|---|
|
|
Identifier for the queue |
|
|
Owner of the queue |
|
|
Name of the queue |
|
|
Internal subscriber number |
|
|
Name of the subscriber |
|
|
Address of the subscribing agent |
|
|
Protocol of the subscribing agent |
|
|
Type of the subscriber:
|
|
|
First subscriber activity time since database startup |
|
|
Number of messages enqueued since |
|
|
Number of messages dequeued since |
|
|
Average age of messages in the queue |
|
|
Number of messages that have been browsed |
|
|
Number of messages expired since |
|
|
Last dequeued message latency (in seconds) |
|
|
Timestamp of the last enqueued message |
|
|
Timestamp of the last dequeued message |
|
|
Total time spent in dequeue (in hundredths of a second) |
|
|
Total CPU time for dequeue (in hundredths of a second) |
|
|
Number of dequeue transactions |
|
|
Number of executions of the dequeue index cursor |
|
|
Number of dequeue transactions that obtained memory locks |
|
|
Number of dequeue transactions that obtained disk locks |
|
|
Number of dequeue transactions that deleted index-organized table entries |
|
|
Message ID of the oldest message |
|
|
Enqueue time of the oldest message |
|
|
Subscriber ID of the parent durable subscriber |
|
|
The ID of the container to which the data pertains. Possible values include:
|