关键字
KingbaseES,当前进程数,允许最大连接数,超级用户保留连接数
问题描述
在金仓数据库KingbaseES中,如何获取当前进程数,允许最大连接数,超级用户保留连接数?
解决方案
select count(*) act_connections,
current_setting('max_connections') max_connnections,
current_setting('superuser_reserved_connections') sup_connections
from pg_stat_activity;
参考资料
更多金仓数据库KingbaseES信息,详见 KingbaseES产品手册