mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Synchronous replication doc corrections.
Thom Brown
This commit is contained in:
parent
7193a90fc1
commit
c74d3aceb9
@ -2092,7 +2092,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If a standby is removed from the list of servers then it will stop
|
If a standby is removed from the list of servers then it will stop
|
||||||
being the synchronous standby, allowing another to take it's place.
|
being the synchronous standby, allowing another to take its place.
|
||||||
If the list is empty, synchronous replication will not be
|
If the list is empty, synchronous replication will not be
|
||||||
possible, whatever the setting of <varname>synchronous_replication</>,
|
possible, whatever the setting of <varname>synchronous_replication</>,
|
||||||
however, already waiting commits will continue to wait.
|
however, already waiting commits will continue to wait.
|
||||||
|
@ -927,7 +927,7 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
All parameters have useful default values, so we can enable
|
All parameters have useful default values, so we can enable
|
||||||
synchronous replication easily just by setting this on the primary
|
synchronous replication easily just by setting this on the primary:
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
synchronous_replication = on
|
synchronous_replication = on
|
||||||
@ -938,7 +938,7 @@ synchronous_replication = on
|
|||||||
even if that takes a very long time.
|
even if that takes a very long time.
|
||||||
<varname>synchronous_replication</> can be set by individual
|
<varname>synchronous_replication</> can be set by individual
|
||||||
users, so can be configured in the configuration file, for particular
|
users, so can be configured in the configuration file, for particular
|
||||||
users or databases, or dynamically by applications programs.
|
users or databases, or dynamically by applications.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -1008,9 +1008,6 @@ synchronous_replication = on
|
|||||||
<para>
|
<para>
|
||||||
You should consider that the network bandwidth must be higher than
|
You should consider that the network bandwidth must be higher than
|
||||||
the rate of generation of WAL data.
|
the rate of generation of WAL data.
|
||||||
10% of changes are important customer details, while
|
|
||||||
90% of changes are less important data that the business can more
|
|
||||||
easily survive if it is lost, such as chat messages between users.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
@ -1019,7 +1016,7 @@ synchronous_replication = on
|
|||||||
<title>Planning for High Availability</title>
|
<title>Planning for High Availability</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Commits made when synchronous_replication is set will wait until at
|
Commits made when synchronous_replication is set will wait until
|
||||||
the sync standby responds. The response may never occur if the last,
|
the sync standby responds. The response may never occur if the last,
|
||||||
or only, standby should crash.
|
or only, standby should crash.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user