When one of PostgreSQL server goes down, pgpool tries to continue
serverce with live server. This is called "degeneration mode".
When you want to come back to the replication mode, please make
- sure that the DB contens matche among two servers. The best way is
+ sure that the DB contens matches among two servers. The best way is
shutdown the live server and do a physical copy using rsync from
the live server to the dead server. Once the DB contents match you
start the two postmaster then restart pgpool.
$ pgbench -i test
- Prepare PHP script. Here is an exmaple PHP script.
+ Prepare PHP script. Here is an example PHP script.
<?php
ini_set("track_errors", "1");