昨日、pgbench で pgpool をテストしました。
pgbench -c 30 -T 20 -r pgbench -p9999 -h192.168.8.28
同時接続数は 30 で、pgpool のデフォルトの num_init_children は 32 です。
したがって、 -c 33 を設定すると、抜け出さない限りテストはブロックされます。
私の質問は:
If my concurrent connections online is 10000, should I set num_init_children=10000?
num_init_children=10000 というのは、pgpool が 10000 プロセスで起動するという意味です。
何か問題がありますか?
10000 の同時接続で pgpool を設定するにはどうすればよいですか?