<div dir="rtl"><div style="" dir="ltr">Hi,</div><div style="" dir="ltr">I&#39;m using pgpool and I&#39;m suffering from very poor performance issues when using the pool. I have the next architecture  :</div><div style="" dir="ltr">1)Node A, contains the application,standby database and pgpool service.</div><div style="" dir="ltr">2)Node B contains the primary db and pgpool service that will be used only in failover.</div><div style="" dir="ltr"><br></div><div style="" dir="ltr">I did the next 2 tests :</div><div style="" dir="ltr">-In the first test, the application on node A access the DB on node B directly, without connecting to the pool. I run one of our application`s major procedures and it took 40s.</div><div style="" dir="ltr">-In the second test, the application on node A access the pool on node A and it redirects the queries to node B. I run the same procedure and it took 3minutes.</div><div style="" dir="ltr"><br></div><div style="" dir="ltr">My db has 500 max connections and the application has only 1 user and 1 db so I set the num_init_children to be 200 and pool_size to be 1.</div><div style="" dir="ltr"><br></div><div style="" dir="ltr">Any idea how can I tune the pgpool ?</div><div style="" dir="ltr"><br></div><div style="" dir="ltr">Thanks.</div></div>