9. switchover
- For maintenance purpose, scheduled switching or degenration is
+ For maintenance purpose, scheduled switching or degeneration is
supported.
- $ pgpool [-f config_file] [-s {m[aster]|s[econdary]] switch
+ To send both reads and writes only to the secondary:
- If [-m {s[mart]|f[ast]|i[mmediate]}] part is omitted, master goes
- down. To stop secondary try:
+ $ pgpool [-f config_file] switch
- $ pgpool [-f config_file] -s s[econdary] switch
+ To switch to using only the master:
- Note that "s[econdary]" measn "s" or "secondary".
+ $ pgpool [-f config_file] -s secondary switch
If there's only one PostgreSQL server, pgpool switch will just
restart pgpool child processes.