数据仓库服务 GAUSSDB(DWS)-计算子集群函数:pv_compute_pool_workload()

时间:2024-10-21 16:50:42

pv_compute_pool_workload()

描述:返回计算子集群当前的负载状态。

返回类型:void

示例:

SELECT * from pv_compute_pool_workload(); 
nodename  | rpinuse | maxrp | nodestate
-----------+---------+-------+----------- 
datanode1 |       0 |  1000 | normal 
datanode2 |       0 |  1000 | normal
(2 rows)
support.huaweicloud.com/sqlreference-830-dws/dws_06_0345.html