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

时间:2023-11-16 20:56:50

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-820-dws/dws_06_0345.html