Doc: fix missing description of pgpool.conf samples.
authorBo Peng <pengbo@sraoss.co.jp>
Sun, 8 Nov 2020 13:28:25 +0000 (22:28 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Sun, 8 Nov 2020 13:28:25 +0000 (22:28 +0900)
doc.ja/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml

index b5952856a51f2118e24d155bc7126a4fe37fca8f..58c1afd36eba48354b0fceeac9d97557a68278be 100644 (file)
        <entry><literal>pgpool.conf.sample-stream</literal></entry>
       </row>
       <row>
-       <!--
-       <entry>Replication mode</entry>
-       -->
        <entry>ネイティブレプリケーションモード</entry>
        <entry><literal>pgpool.conf.sample-replication</literal></entry>
       </row>
        <entry>ロジカルレプリケーションモード</entry>
        <entry><literal>pgpool.conf.sample-logical</literal></entry>
       </row>
+      <row>
+       <entry>slonyモード</entry>
+       <entry><literal>pgpool.conf.sample-slony</literal></entry>
+      </row>
+      <row>
+       <entry>スナップショットアイソレーションモード</entry>
+       <entry><literal>pgpool.conf.sample-snapshot</literal></entry>
+      </row>
       <row>
        <entry>Rawモード</entry>
        <entry><literal>pgpool.conf.sample-raw</literal> </entry>
     このモードでは負荷分散が可能です。
    </para>
 
-   <para>
-    <!--
-    The <firstterm>logical replication mode</firstterm> can be used
-    with <productname>PostgreSQL</> servers operating logical
-    replication. In this mode, <productname>PostgreSQL</> is
-    responsible for synchronizing tables. Load balancing is possible
-    in the mode. Since logical replication does not replicate all
-    tables, it's user's responsibility to replicate the table which
-    could be load balanced. <productname>Pgpool-II</> load balaces
-    all tables. This means that if a table is not
-    replicated, <productname>Pgpool-II</> may lookup outdated tables
-    in the subscriber side.
-    -->
-    <firstterm>ロジカルレプリケーションモード</firstterm>はロジカルレプリケーションを使用する<productname>PostgreSQL</>サーバと一緒に使うことができます。
-    このモードでは、<productname>PostgreSQL</>がテーブルを同期する責任を持ちます。
-    このモードでは負荷分散が可能です。
-    ロジカルレプリケーションは必ずしもすべてのテーブルをレプリケーションしないので、負荷分散させるテーブルがレプリケーションされるようにするのはユーザの責任です。
-    <productname>Pgpool-II</>はすべてのテーブルをロードバランスします。
-    このことは、テーブルがレプリケーションされていない場合には、<productname>Pgpool-II</>がサブスクライバー側の更新されていない古いテーブルを見てしまうかもしれないことを意味します。
-   </para>
-
-   <para>
-    <!--
-    The <firstterm>native replication mode</firstterm> mode (slony mode)
-    can be used with <productname>PostgreSQL</> servers
-    operating <productname>Slony</>. In this
-    mode, <productname>Slony</>/<productname>PostgreSQL</> is
-    responsible for synchronizing
-    databases. Since <productname>Slony-I</> is being obsoleted by
-    streaming replication, we do not recommend to use this mode
-    unless you have specific reason to
-    use <productname>Slony</>. Load balancing is possible in the
-    mode.
-    -->
-    <firstterm>メインレプリカモード</firstterm>(slonyモード)は<productname>Slony-I</>を使用する<productname>PostgreSQL</>サーバと一緒に使うことができます。
-    このモードでは、<productname>Slony</>/<productname>PostgreSQL</>がデータベースを同期する責任を持ちます。
-    <productname>Slony</>はストリーミングレプリケーションの登場により廃れつつあるため、<productname>Slony</>を使う特別な理由が無い限りこのモードの使用を推奨しません。
-    このモードでは負荷分散が可能です。
-   </para>
-
    <para>
     <!--
     In the <firstterm>native replication
     このモードでは負荷分散が可能です。
    </para>
 
+   <para>
+    <!--
+    The <firstterm>logical replication mode</firstterm> can be used
+    with <productname>PostgreSQL</> servers operating logical
+    replication. In this mode, <productname>PostgreSQL</> is
+    responsible for synchronizing tables. Load balancing is possible
+    in the mode. Since logical replication does not replicate all
+    tables, it's user's responsibility to replicate the table which
+    could be load balanced. <productname>Pgpool-II</> load balaces
+    all tables. This means that if a table is not
+    replicated, <productname>Pgpool-II</> may lookup outdated tables
+    in the subscriber side.
+    -->
+    <firstterm>ロジカルレプリケーションモード</firstterm>はロジカルレプリケーションを使用する<productname>PostgreSQL</>サーバと一緒に使うことができます。
+    このモードでは、<productname>PostgreSQL</>がテーブルを同期する責任を持ちます。
+    このモードでは負荷分散が可能です。
+    ロジカルレプリケーションは必ずしもすべてのテーブルをレプリケーションしないので、負荷分散させるテーブルがレプリケーションされるようにするのはユーザの責任です。
+    <productname>Pgpool-II</>はすべてのテーブルをロードバランスします。
+    このことは、テーブルがレプリケーションされていない場合には、<productname>Pgpool-II</>がサブスクライバー側の更新されていない古いテーブルを見てしまうかもしれないことを意味します。
+   </para>
+
+   <para>
+    <!--
+    The <firstterm>native replication mode</firstterm> mode (slony mode)
+    can be used with <productname>PostgreSQL</> servers
+    operating <productname>Slony</>. In this
+    mode, <productname>Slony</>/<productname>PostgreSQL</> is
+    responsible for synchronizing
+    databases. Since <productname>Slony-I</> is being obsoleted by
+    streaming replication, we do not recommend to use this mode
+    unless you have specific reason to
+    use <productname>Slony</>. Load balancing is possible in the
+    mode.
+    -->
+    <firstterm>メインレプリカモード</firstterm>(slonyモード)は<productname>Slony-I</>を使用する<productname>PostgreSQL</>サーバと一緒に使うことができます。
+    このモードでは、<productname>Slony</>/<productname>PostgreSQL</>がデータベースを同期する責任を持ちます。
+    <productname>Slony</>はストリーミングレプリケーションの登場により廃れつつあるため、<productname>Slony</>を使う特別な理由が無い限りこのモードの使用を推奨しません。
+    このモードでは負荷分散が可能です。
+   </para>
+
    <para>
     <firstterm>スナップショットアイソレーションモード</firstterm>は、ネィティブレプリケーションモードと似ていますが、更にノードをまたがる可視性の一貫性を保証します。
     ただし、制限事項がいくつかあり、今の所(<productname>Pgpool-II</productname> 4.2)では「実験的な実装」という位置づけです。
index 4b4c4adc6f2c9d560ea43c3e865159db8ff99749..e462de994b1bb0934b574e37d6309e1ffcb37d72 100644 (file)
        <entry>Slony mode</entry>
        <entry><literal>pgpool.conf.sample-slony</literal></entry>
       </row>
+      <row>
+       <entry>Snapshot isolation mode</entry>
+       <entry><literal>pgpool.conf.sample-snapshot</literal></entry>
+      </row>
       <row>
        <entry>Raw mode</entry>
        <entry><literal>pgpool.conf.sample-raw</literal> </entry>
     mode.
    </para>
 
-   <para>
-    The <firstterm>logical replication mode</firstterm> can be used
-    with <productname>PostgreSQL</> servers operating logical
-    replication. In this mode, <productname>PostgreSQL</> is
-    responsible for synchronizing tables. Load balancing is possible
-    in the mode. Since logical replication does not replicate all
-    tables, it's user's responsibility to replicate the table which
-    could be load balanced. <productname>Pgpool-II</> load balances
-    all tables. This means that if a table is not
-    replicated, <productname>Pgpool-II</> may lookup outdated tables
-    in the subscriber side.
-   </para>
-
-   <para>
-    The <firstterm>native replication mode</firstterm> mode (slony mode)
-    can be used with <productname>PostgreSQL</> servers
-    operating <productname>Slony</>. In this
-    mode, <productname>Slony</>/<productname>PostgreSQL</> is
-    responsible for synchronizing
-    databases. Since <productname>Slony-I</> is being obsoleted by
-    streaming replication, we do not recommend to use this mode
-    unless you have specific reason to
-    use <productname>Slony</>. Load balancing is possible in the
-    mode.
-   </para>
-
    <para>
     In the <firstterm>native replication
      mode</firstterm>, <productname>Pgpool-II</> is responsible for
     Load balancing is possible in the mode.
    </para>
 
+   <para>
+    The <firstterm>logical replication mode</firstterm> can be used
+    with <productname>PostgreSQL</> servers operating logical
+    replication. In this mode, <productname>PostgreSQL</> is
+    responsible for synchronizing tables. Load balancing is possible
+    in the mode. Since logical replication does not replicate all
+    tables, it's user's responsibility to replicate the table which
+    could be load balanced. <productname>Pgpool-II</> load balances
+    all tables. This means that if a table is not
+    replicated, <productname>Pgpool-II</> may lookup outdated tables
+    in the subscriber side.
+   </para>
+
+   <para>
+    The <firstterm>main replica mode</firstterm> mode (slony mode)
+    can be used with <productname>PostgreSQL</> servers
+    operating <productname>Slony</>. In this
+    mode, <productname>Slony</>/<productname>PostgreSQL</> is
+    responsible for synchronizing
+    databases. Since <productname>Slony-I</> is being obsoleted by
+    streaming replication, we do not recommend to use this mode
+    unless you have specific reason to
+    use <productname>Slony</>. Load balancing is possible in the
+    mode.
+   </para>
+
    <para>
     The <firstterm>snapshot isolation mode</firstterm> is similar to
     the native replication mode and it adds the visibility consistency