[pgpool-general: 8237] Re: load_balance_mode is off by default but balancing works?

Bo Peng pengbo at sraoss.co.jp
Wed Jun 22 18:17:43 JST 2022


Hello,

> For our Pgpool, we did not set the parameter load_balance_mode. Its 
> default is off. When we noticed this, we checked it by command "pgpool 
> show load_balance_mode". Check returned 0. This means balancing was 
> disabled. Correctly?
> 
> However, the load balancing worked, according to various checks (for 
> example, "show pool_nodes" command), read requests were routed to 
> read-only replicas.
> 
> Could you comment on this behavior of Pgpool?

If you are using Pgpool-II 4.3, the default value of 
load_balance_mode is "on".

https://www.pgpool.net/docs/latest/en/html/runtime-config-load-balancing.html#GUC-LOAD-BALANCE-MODE

> Thanks in advance.
> 
> -- 
> Regards,
>    Nikola
> 
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
https://www.sraoss.co.jp/


More information about the pgpool-general mailing list