PostgreSQL连接数查询 Posted on 2021-11-02 Edited on 2021-11-28 In Database , PostgreSQL Views: Valine: 查看postgresql的连接数、最大连接数限制、保留的连接数 查看postgresql的连接数 1select * from pg_stat_activity; 查看最大连接数限制: 1show max_connections; 查看为超级用户保留的连接数: 1show superuser_reserved_connections; 参考资料 查看Postgresql的连接数