Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit85b4981

Browse files
kelvichLiudmila Mantrova
authored and
Liudmila Mantrova
committed
new default values and measure units (kB) for size-related options in multimaster
1 parent00d3280 commit85b4981

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎doc/src/sgml/multimaster.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
When the node gets synchronized up to the minimum recovery
309309
lag, all the cluster nodes get locked for write transactions to allow the
310310
recovery process to finish. By default, the minimum recovery
311-
lag is100KB. You can change this value in the
311+
lag is10MB. You can change this value in the
312312
<varname>multimaster.min_recovery_lag</varname> variable.
313313
</para>
314314
</listitem>
@@ -574,7 +574,7 @@ SELECT mtm.get_cluster_state();
574574
<para>
575575
<varname>multimaster.min_recovery_lag</varname> &mdash; sets the
576576
minimal WAL lag between the node to be restored and the current cluster state.
577-
By default, <varname>multimaster.min_recovery_lag</varname> is set to100KB.
577+
By default, <varname>multimaster.min_recovery_lag</varname> is set to10MB.
578578
When the disconnected node is fast-forwarded up to the
579579
<varname>multimaster.min_recovery_lag</varname> threshold,
580580
<filename>multimaster</filename> stops all new commits to the
@@ -596,7 +596,7 @@ SELECT mtm.get_cluster_state();
596596
</itemizedlist>
597597
<para>
598598
By default, <varname>multimaster.max_recovery_lag</varname> is
599-
set to100MB. Setting
599+
set to1GB. Setting
600600
<varname>multimaster.max_recovery_lag</varname> to a larger
601601
value increases the timeframe for automatic recovery, but
602602
requires more disk space for WAL collection.
@@ -1030,13 +1030,13 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
10301030
<varlistentry><term><varname>multimaster.min_recovery_lag</varname><indexterm><primary><varname>multimaster.min_recovery_lag</varname></primary></indexterm></term><listitem><para>
10311031
Minimal WAL lag
10321032
between the node to be restored and the current cluster state, in
1033-
bytes. When this threshold is reached during node recovery, the
1033+
kB. When this threshold is reached during node recovery, the
10341034
cluster is locked for write transactions until the recovery is
1035-
complete. </para><para>Default:100000
1035+
complete. </para><para>Default:10MB
10361036
</para></listitem></varlistentry>
10371037
<varlistentry><term><varname>multimaster.max_recovery_lag</varname><indexterm><primary><varname>multimaster.max_recovery_lag</varname></primary></indexterm></term><listitem><para>
10381038
Maximal WAL lag
1039-
size, inbytes. When a node is disconnected from the cluster, other
1039+
size, inkB. When a node is disconnected from the cluster, other
10401040
nodes copy WALs for all new transactions into the replication slot of
10411041
this node. Upon reaching the
10421042
<varname>multimaster.max_recovery_lag</varname> value, the
@@ -1046,7 +1046,7 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
10461046
the data from one of the alive nodes using
10471047
<application>pg_basebackup</application> or a similar tool. If you set this
10481048
variable to zero, replication slot will not be dropped. </para><para>Default:
1049-
100000000
1049+
1GB
10501050
</para></listitem></varlistentry>
10511051
<varlistentry id="ignore-tables-without-pk"><term><varname>multimaster.ignore_tables_without_pk</varname><indexterm><primary><varname>multimaster.ignore_tables_without_pk</varname></primary></indexterm></term><listitem><para>
10521052
Boolean.
@@ -1144,9 +1144,9 @@ pg_ctl -D <replaceable>datadir</replaceable> -l <replaceable>pg.log</replaceable
11441144
</indexterm>
11451145
</term>
11461146
<listitem>
1147-
<para>The maximal size of transaction, inMB. When this threshold is reached, the transaction is written to the disk.
1147+
<para>The maximal size of transaction, inkB. When this threshold is reached, the transaction is written to the disk.
11481148
</para>
1149-
<para>Default:100
1149+
<para>Default:100MB
11501150
</para>
11511151
</listitem>
11521152
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp