Skip to content

Commit 9b2c14c

Browse files
committed
Minor markup improvements for Hot Standby documentation.
1 parent 2e8a832 commit 9b2c14c

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

doc/src/sgml/config.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.281 2010/06/15 07:52:10 itagaki Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.282 2010/06/22 02:57:49 rhaas Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1977,14 +1977,14 @@ SET ENABLE_SEQSCAN TO OFF;
19771977
<acronym>HOT</> updates will defer cleanup of dead row versions. The
19781978
default is 0 transactions, meaning that dead row versions will be
19791979
removed as soon as possible. You may wish to set this to a non-zero
1980-
value when planning or maintaining a <xref linkend="hot-standby">
1981-
configuration. The recommended value is <literal>0</> unless you have
1982-
clear reason to increase it. The purpose of the parameter is to
1983-
allow the user to specify an approximate time delay before cleanup
1984-
occurs. However, it should be noted that there is no direct link with
1985-
any specific time delay and so the results will be application and
1986-
installation specific, as well as variable over time, depending upon
1987-
the transaction rate (of writes only).
1980+
value when planning or maintaining a Hot Standby connection, as
1981+
described in <xref linkend="hot-standby">. The recommended value is
1982+
<literal>0</> unless you have clear reason to increase it. The purpose
1983+
of the parameter is to allow the user to specify an approximate time
1984+
delay before cleanup occurs. However, it should be noted that there is
1985+
no direct link with any specific time delay and so the results will be
1986+
application and installation specific, as well as variable over time,
1987+
depending upon the transaction rate (of writes only).
19881988
</para>
19891989
</listitem>
19901990
</varlistentry>

doc/src/sgml/high-availability.sgml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.73 2010/06/11 10:13:08 heikki Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.74 2010/06/22 02:57:50 rhaas Exp $ -->
22

33
<chapter id="high-availability">
44
<title>High Availability, Load Balancing, and Replication</title>
@@ -1330,7 +1330,7 @@ if (!triggered)
13301330
</listitem>
13311331
<listitem>
13321332
<para>
1333-
LISTEN, UNLISTEN, NOTIFY
1333+
<command>LISTEN</>, <command>UNLISTEN</>, <command>NOTIFY</>
13341334
</para>
13351335
</listitem>
13361336
</itemizedlist>
@@ -1437,14 +1437,14 @@ if (!triggered)
14371437
Some WAL redo actions will be for <acronym>DDL</> execution. These DDL
14381438
actions are replaying changes that have already committed on the primary
14391439
node, so they must not fail on the standby node. These DDL locks take
1440-
priority and will automatically *cancel* any read-only transactions that
1441-
get in their way, after a grace period. This is similar to the possibility
1442-
of being canceled by the deadlock detector. But in this case, the standby
1443-
recovery process always wins, since the replayed actions must not fail.
1444-
This also ensures that replication does not fall behind while waiting for a
1445-
query to complete. This prioritization presumes that the standby exists
1446-
primarily for high availability, and that adjusting the grace period
1447-
will allow a sufficient guard against unexpected cancellation.
1440+
priority and will automatically <emphasis>cancel</> any read-only
1441+
transactions that get in their way, after a grace period. This is similar
1442+
to the possibility of being canceled by the deadlock detector. But in this
1443+
case, the standby recovery process always wins, since the replayed actions
1444+
must not fail. This also ensures that replication does not fall behind
1445+
while waiting for a query to complete. This prioritization presumes that
1446+
the standby exists primarily for high availability, and that adjusting the
1447+
grace period will allow a sufficient guard against unexpected cancellation.
14481448
</para>
14491449

14501450
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy