PostgreSQL 9.5-更改为max_connections对奴隶不可见

问题描述 投票:1回答:1

我已经在我的主服务器上添加了一个pgbouncer进程,所以我想将连接数从1500减少到100左右,以释放主服务器上的资源,但是当我在主服务器和从服务器上都进行更改时,从属设备看不到新设置:

2020-01-29 14:59:19 dbr5 postgres[47563]: [4-1] 2020-01-29 14:59:19 EST [47563]: [4-1] user=,db=,app=,client= FATAL:  hot standby is not possible because max_connections = 100 is a lower setting than on the master server (its value was 1500)

这是在更改母版之后:

master=# show max_connections;
 max_connections
-----------------
 100
(1 row)

任何线索为什么奴隶没有采用新的设置?

postgresql postgresql-9.5
1个回答
0
投票

配置参数,在全局设置时,永远不会复制。可以设置

© www.soinside.com 2019 - 2024. All rights reserved.