小编sco*_*ier的帖子

具有 10000 个并发连接的 pgpool num_init_children

昨天我用 pgbench 测试了 pgpool :

pgbench -c 30 -T 20 -r pgbench -p9999 -h192.168.8.28
Run Code Online (Sandbox Code Playgroud)

并发连接数为 30,pgpool 默认 num_init_children 为 32。

因此,当我设置 -c 33 时,除非我爆发,否则测试将被阻止。


我的问题是:

If my concurrent connections online is 10000, should I set num_init_children=10000? 
Run Code Online (Sandbox Code Playgroud)

num_init_children=10000 意味着 pgpool 以 10000 个进程开始,这很糟糕。

有什么不对 ?

如何使用 10000 个并发连接配置 pgpool?

postgresql connection concurrency pgpool

2
推荐指数
1
解决办法
2824
查看次数

标签 统计

concurrency ×1

connection ×1

pgpool ×1

postgresql ×1