<para>
<xref linkend="guc-delay-threshold">では、レプリケーション遅延の上限をバイト単位で指定します。
今回は<xref linkend="guc-delay-threshold-by-time">というパラメータを追加して、レプリケーション遅延の上限を時間(秒)で指定できるようにしました。
- æ\96°ã\81\97ã\81\84ã\83\91ã\83©ã\83¡ã\83¼ã\82¿ã\81¯0ã\82\88ã\82\8a大ã\81\8dã\81\84ã\80\81ã\81\8bã\81¤<varname>track_commit_timestamp</varname>ï¼\88PostgreSQL 9.5以é\99\8dã\81§ä½¿ç\94¨å\8f¯è\83½ï¼\89ã\81\8cæ\9c\89å\8a¹ã\81«ã\81ªã\81£ã\81¦ã\81\84ã\82\8bå ´å\90\88ã\81«æ\9c\89å\8a¹ã\81§す。
+ æ\96°ã\81\97ã\81\84ã\83\91ã\83©ã\83¡ã\83¼ã\82¿ã\81\8c0ã\82\88ã\82\8a大ã\81\8dã\81\84å ´å\90\88ã\81«æ\9c\89å\8a¹ã\81«ã\81ªã\82\8aã\81¾す。
この場合は、<xref linkend="SQL-SHOW-POOL-NODES">と<xref linkend="pcp-node-info">のレプリケーションの遅延は秒単位で表示します。
- このパラメータが0に設定されている、または<varname>track_commit_timestamp</varname>が有効になっていない場合には、
+ このパラメータが0に設定されている場合には、
<varname>delay_threshold_by_time</varname>は無視され、delay_thresholdモードに戻ります。
</para>
<para>
upper limit in bytes. Add similar parameter called
<xref linkend="guc-delay-threshold-by-time"> so that the limit
can be specified by time (seconds). The new parameter is
- effective if it is greater than 0 and track_commit_timestamp
- (available in <productname>PostgreSQL</productname> 9.5 or after)
- is enabled. In this case <xref linkend="SQL-SHOW-POOL-NODES">
- and <xref linkend="pcp-node-info"> display the replication delay
- in seconds. If the parameter is set to 0 or
- track_commit_timestamp is not
- enabled, <xref linkend="guc-delay-threshold-by-time"> is ignored
- and falls back to delay_threshold mode.
+ effective if it is greater than 0.
+ In this case <xref linkend="SQL-SHOW-POOL-NODES"> and
+ <xref linkend="pcp-node-info"> display the replication delay in seconds.
+ If the parameter is set to 0, <xref linkend="guc-delay-threshold-by-time">
+ is ignored and falls back to delay_threshold mode.
</para>
<para>
For this purpose new member standby_delay_by_time is added to shared