stilldream

PG数据库查看当前连接数:
select count(1) from pg_stat_activity;

PG数据库查看最大连接数:
show max_connections;

最大连接数也可以在pg配置文件中配置:
在postgresql.conf中设置:
max_connections = 500

分类:

技术点:

相关文章:

  • 2021-11-23
  • 2021-08-20
  • 2021-08-20
  • 2021-08-20
  • 2021-10-04
  • 2021-08-20
  • 2021-11-23
猜你喜欢
  • 2021-12-07
  • 2021-08-20
  • 2021-12-03
  • 2021-08-30
  • 2021-08-20
  • 2021-11-23
相关资源
相似解决方案