Thanks!<br>Just from learning perspective I raised previous 2nd question. I think there should be 6 cases:<br><ol><li>pgpool-II+master server+ warm-standby server+ file-based log shipping method between master and standby</li>
<li>pgpool-II+master server+ warm-standby server+ stream replication method between master and standby</li><li>pgpool-II+master server+ warm-standby server+ synchonous replication method between master and standby</li><li>
pgpool-II+master server+ hot-standby server+ file-based log shipping method between master and standby</li><li>pgpool-II+master server+ hot-standby server+ stream replication method between master and standby</li><li>pgpool-II+master server+ hot-standby server+ synchonous replication method between master and standby</li>
</ol>I noticed the tutorial of <a href="http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-en.html" target="_blank">http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-en.html</a> falls into case 5. From that tutorial I assumed pgpool could be configured to support case 2,3,5,6 by using master-slave mode combined with load balancing mode. Is that right? Maybe I could have a try.<br>
I understand people using warm-standby for HA, and hot-standby for load balancing, or OLAP on standby to seperate work-load from master.<br><br><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 9:01 AM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">&gt; Hi, Friends,<br>
&gt;   I&#39;ve two questions:<br>
&gt;   1. What&#39;s the real meanings of  &quot;Replication mode&quot;? I noticed there is no<br>
&gt; much more explaination at pgpool-II manual (English)<br>
</div>&gt; &lt;<a href="http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-en.html" target="_blank">http://www.pgpool.net/pgpool-web/pgpool-II/doc/pgpool-en.html</a>&gt;, what&#39;s the<br>
<div class="im">&gt; difference between &quot;Replication mode&quot; and &quot;Master-slave mode&quot;? Should I<br>
&gt; understand &quot;Replication mode&quot; as &quot;pgpool-ii sends DML sentences just like<br>
&gt; Inserts to two backends postgresql?&quot;<br>
<br>
</div>Right.<br>
<div class="im"><br>
&gt;   2. I know I could configure Postgresql9.1 warm-standby using file-based<br>
&gt; log shiping, stream replication or Synchronous Replication. From this<br>
&gt; tutorial For pgpool-II 3.1 and PostgreSQL<br>
</div>&gt; 9.1&lt;<a href="http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting_3.1/index.html" target="_blank">http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting_3.1/index.html</a>&gt;,<br>
<div class="im">&gt; I know how to configure pgpool supporting stream replication between master<br>
&gt; and warm-standby. My question is it seems pgpool-ii doesn&#39;t support<br>
&gt; file-based log shiping method between master and warm-standby, is that<br>
&gt; right? Because I could not select Master-slave mode for it only support<br>
&gt; slony or stream. And I also don&#39;t know whether should I use replication<br>
&gt; mode in pgpool.conf.<br>
&gt;   Thanks!<br>
<br>
</div>I have never tried warm standby with pgpool but master-slave + slony<br>
should be able to work with it. BTW, why do you need warm standby<br>
anyway? Is tehre any reason not to use streaming replication?<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div><br>