更新时间:2024-11-27 GMT+08:00

计算子集群函数

pv_compute_pool_workload()

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

返回类型:void

示例:

1
2
3
4
5
6
SELECT * from pv_compute_pool_workload();
 nodename  | rpinuse | maxrp | nodestate
-----------+---------+-------+-----------
 datanode1 |       0 |  1000 | normal
 datanode2 |       0 |  1000 | normal
(2 rows)