<div dir="auto">I&#39;ll try it.<div dir="auto"><br></div><div dir="auto">Thank you very much Tatsuo.</div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 Dec 2016 8:25 a.m., &quot;Tatsuo Ishii&quot; &lt;<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can monitor load balancing by enabling log_per_node_statement.<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
<br>
&gt; Hi Cepren,<br>
&gt; I did it, but I&#39;m not sure I did it correctly. For this reason I need a way<br>
&gt; to monitor load balancing.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt; Meph<br>
&gt;<br>
&gt; On 13 Dec 2016 8:05 a.m., &quot;Сергей Мелехин&quot; &lt;<a href="mailto:cpro29a@gmail.com">cpro29a@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi!<br>
&gt;&gt; By default, pgpool treats all stored functions as potentially data<br>
&gt;&gt; modifying. So it sends them to master.<br>
&gt;&gt; If you know your function never modifies the data, you should add its name<br>
&gt;&gt; to white_function_list parameter in pgpool config.<br>
&gt;&gt;<br>
&gt;&gt; С Уважением, Сергей Мелехин.<br>
&gt;&gt;<br>
&gt;&gt; 2016-12-13 16:49 GMT+10:00 Mephysto &lt;<a href="mailto:mephystoonhell@gmail.com">mephystoonhell@gmail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi there,<br>
&gt;&gt;&gt; I&#39;m using pgpool to pooling connections for my Postgres cluster, and I&#39;m<br>
&gt;&gt;&gt; using a jdbc pooling in a Glassfish application server to connect a web<br>
&gt;&gt;&gt; application to Postgres.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; At the moment I have a strange behaviour for load balancing: I have two<br>
&gt;&gt;&gt; pg nodes, a master and a slave, with the same weight, but queries are<br>
&gt;&gt;&gt; executed almost exclusively to master. I&#39;m using almost only stored<br>
&gt;&gt;&gt; functions and no simple select queries. I tried to set up some filters to<br>
&gt;&gt;&gt; send queries to slave.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It&#39;s there a way to monitor how pgpool drive the queries?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is a good idea to use a jdbc pool to connect applications to pgpool?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks in advance.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Meph<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; pgpool-general mailing list<br>
&gt;&gt;&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt;&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/<wbr>listinfo/pgpool-general</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
</blockquote></div></div>