-
Warm and Hot Standby Using Point-In-Time Recovery (PITR>)
+ Transaction Log Shipping
stream of write-ahead log (
WAL>)
records. If the main server fails, the standby contains
almost all of the data of the main server, and can be quickly
- made the new master database server. This is asynchronous and
- can only be done for the entire database server.
+ made the new master database server. This can be synchronous or
+ asynchronous and can only be done for the entire database server.
- A PITR standby server can be implemented using file-based log shipping
+ A standby server can be implemented using file-based log shipping
() or streaming replication (see
), or a combination of both. For
information on hot standby, see .
Feature
Shared Disk Failover
File System Replication
- Hot/Warm Standby Using PITR
+ Transaction Log Shipping
Trigger-Based Master-Standby Replication
Statement-Based Replication Middleware
Asynchronous Multimaster Replication
Most Common Implementation
NAS
DRBD
- PITR
+ Streaming Repl.
Slony
pgpool-II
Bucardo
No waiting for multiple servers
•
- •
+ with sync off
•
•
Master failure will never lose data
•
•
-
+ with sync on
•
Standby accept read-only queries
- Hot only
+ with hot
•
•
•