<div dir="ltr">We examined the native replication mode, but our other databases and aplications using OIDs, and random values, and I afraid we will be some problems. That reason we&#39;re staying in streaming replication mode , and we use OTRS without pool in the production area :(<br>
<br>Do you planning in the future releases  some extra Load Balance parameters?<br>I&#39;m thinking of for example white/black list to turn off/on it on the databases, tables, etc. <br><br>Thanks for your attention,<br>Csaba<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 9:13 GMT+02:00 Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">&gt; We&#39;re testing it with your suggested 0 backend weight in the slave. It<br>
&gt; working fine without load balancing mode.<br>
&gt;<br>
&gt; We would like to steer clear of the replication lag problems, that reason<br>
&gt; we&#39;re using synchronous replication with remote_write level settings.  But<br>
&gt; I see it is not enough.<br>
<br>
</div>No, it&#39;s not. PostgreSQL&#39;s synchronous replication does not guarantee<br>
that on standby sever the log record has been replayed when master<br>
returns a commit message. In short, there&#39;s always replication lag.<br>
<div class=""><br>
&gt; Can You suggest us an useful solution?<br>
<br>
</div>As long as you use PostgreSQL&#39;s streaming replication, there&#39;s no<br>
solution for replication delay. Possible solution would be:<br>
<br>
1) modify your application so that it&#39;s ready for replication lag.<br>
<br>
2) use pgpool&#39;s native replication mode.<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Thx,<br>
&gt; Csaba<br>
&gt;<br>
&gt;<br>
&gt; 2014-04-02 1:15 GMT+02:00 Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;:<br>
&gt;<br>
&gt;&gt; Humm.. there&#39;s no error messages in the pgpool log. Maybe the<br>
&gt;&gt; replication lag? To make sure that if that is the cause of the<br>
&gt;&gt; problem, you could set the slave&#39;s backend weight to 0 and restart<br>
&gt;&gt; pgpool-II.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>