zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

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

Oracle官方 使用 如何 详细 作用 说明 解释
2023-06-13 09:11:18 时间
本站中文解释

V$AQ_SUBSCRIBER_LOAD是Oracle AQ (异步队列)视图,它用来报告订户服务器的负载情况,其中每个订户服务器在收到消息之后被计量一次。该视图可以使用来分析系统的性能和负载。

通过使用 V$AQ_SUBSCRIBER_LOAD视图,可以查看订户服务器的负载情况,计算每个订户服务器的收件箱统计数据,以及逐个服务器的实时消息数量以及吞吐量。另外,它还可以查看服务器的状态(比如已激活和即将重新加载状态),窗口消息缓存数量,以及某个订户服务器的消息重新加载次数。

使用V$AQ_SUBSCRIBER_LOAD视图的方法如下:SQL select * from V$AQ_SUBSCRIBER_LOAD ;

官方英文解释

V$AQ_SUBSCRIBER_LOAD describes the load of all subscribers of sharded queues in terms of latency at every instance in an Oracle RAC environment.

Latency denotes the predicted amount of time (in seconds) required from the current time to drain all the messages for that subscriber at each respective instance. The latency calculation considers past enqueue/dequeue rates and future enqueue/dequeue rates based on history.

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.


FINITE The subscriber will be able to dequeue all the messages in a finite amount of time


Indicates whether the subscriber is actively listening at this instance for messages (TRUE) or not (FALSE)


An affinity switch is a change in the dequeue instance for a shard-subscriber pair. A mandatory affinity switch is when there are local enqueues in the queue at the instance but no local dequeues present, so the dequeue affinity is switched to another instance for that shard-subscriber pair. This column shows the number of times mandatory affinity switches were needed from this instance to another for this subscriber.


Optional affinity switches are affinity switches that are not mandatory. Optional affinity switches are done for global load balancing across the Oracle Real Application Clusters (Oracle RAC) database. This column shows the number of times optional affinity switches were needed from this instance to another for this subscriber.


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.


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


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 V$AQ_SUBSCRIBER_LOAD 官方解释,作用,如何使用详细说明