云数据库 GAUSSDB-分区表统计信息函数:gs_wlm_respool_connection_info()

时间:2025-10-17 14:33:02

gs_wlm_respool_connection_info()

描述:描述资源池的连接数资源限制和使用信息。

返回值类型:setof record

名称

类型

描述

respool_name

name

资源池名称。

max_connections

name

资源池最大连接数。

curr_connections

integer

当前资源池已有连接数。

示例:
1
2
3
4
5
6
gaussdb=# SELECT * FROM GS_WLM_RESPOOL_CONNECTION_INFO();
 respool_name  | max_connections | curr_connections
---------------+-----------------+------------------
 respool1      |              -1 |                0
 default_pool  |              -1 |                1
(2 rows)
support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-12-2664.html