|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.67 2010/05/03 09:15:17 heikki Exp $ --> |
|
|
|
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.68 2010/05/13 14:16:41 mha Exp $ --> |
|
|
|
|
|
|
|
|
|
<chapter id="high-availability"> |
|
|
|
|
<title>High Availability, Load Balancing, and Replication</title> |
|
|
|
|
@ -201,7 +201,7 @@ protocol to make nodes agree on a serializable transactional order. |
|
|
|
|
must query such values from a single server and then use those |
|
|
|
|
values in write queries. Another option is to use this replication |
|
|
|
|
option with a traditional master-slave setup, i.e. data modification |
|
|
|
|
queries are sent only to the master and are propogated to the |
|
|
|
|
queries are sent only to the master and are propagated to the |
|
|
|
|
slaves via master-slave replication, not by the replication |
|
|
|
|
middleware. Care must also be taken that all |
|
|
|
|
transactions either commit or abort on all servers, perhaps |
|
|
|
|
@ -1559,7 +1559,7 @@ if (!triggered) |
|
|
|
|
node itself. And you are still getting the benefit of off-loading the |
|
|
|
|
execution onto the standby. <varname>max_standby_delay</> should |
|
|
|
|
not be used in this case because delayed WAL files might already |
|
|
|
|
contain entries that invalidate the current shapshot. |
|
|
|
|
contain entries that invalidate the current snapshot. |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
|
@ -1823,7 +1823,7 @@ LOG: database system is ready to accept read only connections |
|
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
<para> |
|
|
|
|
The statististics collector is active during recovery. All scans, reads, blocks, |
|
|
|
|
The statistics collector is active during recovery. All scans, reads, blocks, |
|
|
|
|
index usage, etc., will be recorded normally on the standby. Replayed |
|
|
|
|
actions will not duplicate their effects on primary, so replaying an |
|
|
|
|
insert will not increment the Inserts column of pg_stat_user_tables. |
|
|
|
|
|