<div dir="auto">I'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., "Tatsuo Ishii" <<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>> 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>
> Hi Cepren,<br>
> I did it, but I'm not sure I did it correctly. For this reason I need a way<br>
> to monitor load balancing.<br>
><br>
> Regards.<br>
><br>
> Meph<br>
><br>
> On 13 Dec 2016 8:05 a.m., "Сергей Мелехин" <<a href="mailto:cpro29a@gmail.com">cpro29a@gmail.com</a>> wrote:<br>
><br>
>> Hi!<br>
>> By default, pgpool treats all stored functions as potentially data<br>
>> modifying. So it sends them to master.<br>
>> If you know your function never modifies the data, you should add its name<br>
>> to white_function_list parameter in pgpool config.<br>
>><br>
>> С Уважением, Сергей Мелехин.<br>
>><br>
>> 2016-12-13 16:49 GMT+10:00 Mephysto <<a href="mailto:mephystoonhell@gmail.com">mephystoonhell@gmail.com</a>>:<br>
>><br>
>>> Hi there,<br>
>>> I'm using pgpool to pooling connections for my Postgres cluster, and I'm<br>
>>> using a jdbc pooling in a Glassfish application server to connect a web<br>
>>> application to Postgres.<br>
>>><br>
>>> At the moment I have a strange behaviour for load balancing: I have two<br>
>>> pg nodes, a master and a slave, with the same weight, but queries are<br>
>>> executed almost exclusively to master. I'm using almost only stored<br>
>>> functions and no simple select queries. I tried to set up some filters to<br>
>>> send queries to slave.<br>
>>><br>
>>> It's there a way to monitor how pgpool drive the queries?<br>
>>><br>
>>> Is a good idea to use a jdbc pool to connect applications to pgpool?<br>
>>><br>
>>> Thanks in advance.<br>
>>><br>
>>> Meph<br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> pgpool-general mailing list<br>
>>> <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
>>> <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>
>>><br>
>>><br>
>><br>
</blockquote></div></div>