diff options
author | Magnus Hagander <magnus@hagander.net> | 2013-01-20 16:10:12 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2013-01-20 16:10:12 +0100 |
commit | 0a2da5282a2372b651e2096f16d97d6029e5f54f (patch) | |
tree | 1dec1a6d47f7ac52e64a9949a2340830ad491f74 | |
parent | 26d905a12dda783783c60cec04decb00cd2e67f4 (diff) | |
download | postgresql-0a2da5282a2372b651e2096f16d97d6029e5f54f.tar.gz postgresql-0a2da5282a2372b651e2096f16d97d6029e5f54f.zip |
Clarify that streaming replication can be both async and sync
Josh Kupershmidt
-rw-r--r-- | doc/src/sgml/high-availability.sgml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index e8342858c9d..c8f6fa8a54d 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -738,13 +738,14 @@ archive_cleanup_command = 'pg_archivecleanup /path/to/archive %r' </para> <para> - Streaming replication is asynchronous, so there is still a small delay - between committing a transaction in the primary and for the changes to - become visible in the standby. The delay is however much smaller than with - file-based log shipping, typically under one second assuming the standby - is powerful enough to keep up with the load. With streaming replication, - <varname>archive_timeout</> is not required to reduce the data loss - window. + Streaming replication is asynchronous by default + (see <xref linkend="synchronous-replication">), in which case there is + a small delay between committing a transaction in the primary and the + changes becoming visible in the standby. This delay is however much + smaller than with file-based log shipping, typically under one second + assuming the standby is powerful enough to keep up with the load. With + streaming replication, <varname>archive_timeout</> is not required to + reduce the data loss window. </para> <para> |