File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ synchronous_replication = on
947
947
<para>
948
948
After a commit record has been written to disk on the primary the
949
949
WAL record is then sent to the standby. The standby sends reply
950
- messages each time a new batch of WAL data is received , unless
950
+ messages each time a new batch of WAL data is written to disk , unless
951
951
<varname>wal_receiver_status_interval</> is set to zero on the standby.
952
952
If the standby is the first matching standby, as specified in
953
953
<varname>synchronous_standby_names</> on the primary, the reply
@@ -1013,6 +1013,12 @@ synchronous_replication = on
1013
1013
the rate of generation of WAL data.
1014
1014
</para>
1015
1015
1016
+ <para>
1017
+ Replies are only sent when WAL is written to disk, so setting
1018
+ <varname>fsync</> to <literal>off</> on the standby will significantly
1019
+ reduce performance of synchronous replication and should be avoided.
1020
+ </para>
1021
+
1016
1022
</sect3>
1017
1023
1018
1024
<sect3 id="synchronous-replication-ha">
You can’t perform that action at this time.
0 commit comments