欢迎光临
我们一直在努力

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

本站中文解释

V$RSRC_CONSUMER_GROUP_CPU_MTH 这个视图显示了资源消费组内cpu月度报表。

V$RSRC_CONSUMER_GROUP_CPU_MTH 是属于V$RSRC_REPORT_STATS_CPU_MTH 的子视图,可用于在给定月份范围内报告消费组的CPU统计信息。它汇总CPU分配给每个消费组的使用量,以显示每个消费组的资源使用情况。

这个视图可以帮助我们监控CPU使用情况,估算消费组需要多少资源并平衡资源分配。

使用V$RSRC_CONSUMER_GROUP_CPU_MTH可以通过SQL语句查看指定消费组某个月的CPU分配情况:

SELECT consumer_group, cpu_usage_delta
FROM V$RSRC_CONSUMER_GROUP_CPU_MTH
WHERE consumer_group = ‘MyConsumerGroup’
AND report_month = ‘20201209’;

官方英文解释

V$RSRC_CONSUMER_GROUP_CPU_MTH displays all resource allocation methods defined for resource consumer groups.

Column Datatype Description

NAME

VARCHAR2(40)

Name of the CPU resource allocation method

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
    Administrator’s Guide
    for information on resource allocation methods

  • Oracle Database PL/SQL
    Packages and Types Reference
    on defining resource allocation methods for consumer groups with the DBMS_RESOURCE_MANAGER package

  • “V$RSRC_PLAN_CPU_MTH” for a listing of all resource allocation methods defined for resource plans

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。