<div dir="ltr"><div dir="ltr">Hi All,<div><br></div><div>   I used &#39;repmge&#39; built 1(master)+2(standby) postgresql cluster, and set pgpool for this cluster. But I do pgbench test, can not got any improvement.</div><div>that&#39;s my test result:</div><div>10.193.10.208 is pgpool server, 10.193.10.205 is master server. I saw access directly  is better than pgpool server, why?</div><div>----</div><div><div>test@ubuntu:~$ pgbench -c 10 -T 10 -S -h 10.193.10.208 -U pea pea </div><div>Password:</div><div>starting vacuum...end.</div><div>transaction type: &lt;builtin: select only&gt;</div><div>scaling factor: 1</div><div>query mode: simple</div><div>number of clients: 10</div><div>number of threads: 1</div><div>duration: 10 s</div><div>number of transactions actually processed: 13882</div><div>latency average = 7.248 ms</div><div>tps = 1379.733298 (including connections establishing)</div><div>tps = 1380.020165 (excluding connections establishing)</div><div><br></div><div>test@ubuntu:~$ pgbench -c 10 -T 10 -S -h 10.193.10.205 -U pea pea</div><div>Password:</div><div>starting vacuum...end.</div><div>transaction type: &lt;builtin: select only&gt;</div><div>scaling factor: 1</div><div>query mode: simple</div><div>number of clients: 10</div><div>number of threads: 1</div><div>duration: 10 s</div><div>number of transactions actually processed: 83917</div><div>latency average = 1.192 ms</div><div>tps = 8390.654113 (including connections establishing)</div><div>tps = 8396.359804 (excluding connections establishing)</div></div><div>------</div></div></div>