-
+
Server Configuration
HOT> updates will defer cleanup of dead row versions. The
default is 0 transactions, meaning that dead row versions will be
removed as soon as possible. You may wish to set this to a non-zero
- value when planning or maintaining a
- configuration. The recommended value is 0> unless you have
- clear reason to increase it. The purpose of the parameter is to
- allow the user to specify an approximate time delay before cleanup
- occurs. However, it should be noted that there is no direct link with
- any specific time delay and so the results will be application and
- installation specific, as well as variable over time, depending upon
- the transaction rate (of writes only).
+ value when planning or maintaining a Hot Standby connection, as
+ described in . The recommended value is
+ 0> unless you have clear reason to increase it. The purpose
+ of the parameter is to allow the user to specify an approximate time
+ delay before cleanup occurs. However, it should be noted that there is
+ no direct link with any specific time delay and so the results will be
+ application and installation specific, as well as variable over time,
+ depending upon the transaction rate (of writes only).
-
+
High Availability, Load Balancing, and Replication
- LISTEN, UNLISTEN, NOTIFY
+ LISTEN>, UNLISTEN>, NOTIFY>
Some WAL redo actions will be for
DDL> execution. These DDL
actions are replaying changes that have already committed on the primary
node, so they must not fail on the standby node. These DDL locks take
- priority and will automatically *cancel* any read-only transactions that
- get in their way, after a grace period. This is similar to the possibility
- of being canceled by the deadlock detector. But in this case, the standby
- recovery process always wins, since the replayed actions must not fail.
- This also ensures that replication does not fall behind while waiting for a
- query to complete. This prioritization presumes that the standby exists
- primarily for high availability, and that adjusting the grace period
- will allow a sufficient guard against unexpected cancellation.
+ priority and will automatically cancel> any read-only
+ transactions that get in their way, after a grace period. This is similar
+ to the possibility of being canceled by the deadlock detector. But in this
+ case, the standby recovery process always wins, since the replayed actions
+ must not fail. This also ensures that replication does not fall behind
+ while waiting for a query to complete. This prioritization presumes that
+ the standby exists primarily for high availability, and that adjusting the
+ grace period will allow a sufficient guard against unexpected cancellation.