PostgreSQL
Category
Syncronization (HA) types
On PostgreSQL documentation
https://www.postgresql.org/docs/10/high-availability.html Table 26.1. High Availability, Load Balancing, and Replication Feature Matrix https://www.postgresql.org/docs/10/different-replication-solutions.html
Feature | Shared Disk | File System | Write-Ahead Log Shipping | Logical Replication | Trigger-Based | Statement-Based | Asynchronous Multimaster | Synchronous Multimaster |
Failover | Replication | Master-Standby Replication | Replication Middleware | Replication | Replication | |||
Most common implementations | NAS | DRBD | built-in streaming replication | built-in logical replication, pglogical | Londiste, Slony | pgpool-II | Bucardo | |
Communication method | shared disk | disk blocks | WAL | logical decoding | table rows | SQL | table rows | table rows and row locks |
No special hardware required | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
Allows multiple master servers | ✔ | ✔ | ✔ | ✔ | ||||
No master server overhead | ✔ | ✔ | ✔ | ✔ | ||||
No waiting for multiple servers | ✔ | with sync off | with sync off | ✔ | ✔ | |||
Master failure will never lose data | ✔ | ✔ | with sync on | with sync on | ✔ | ✔ | ||
Replicas accept read-only queries | with hot standby | ✔ | ✔ | ✔ | ✔ | ✔ | ||
Per-table granularity | ✔ | ✔ | ✔ | ✔ | ||||
No conflict resolution necessary | ✔ | ✔ | ✔ | ✔ | ✔ |