- File System (Block-Device) Replication
+ File System (Block Device) Replication
+
+ Logical Replication
+
+ Logical replication allows a database server to send a stream of data
+ modifications to another server.
PostgreSQL
+ logical replication constructs a stream of logical data modifications
+ from the WAL. Logical replication allows the data changes from
+ individual tables to be replicated. Logical replication doesn't require
+ a particular server to be designated as a master or a replica but allows
+ data to flow in multiple directions. For more information on logical
+ replication, see . Through the
+ logical decoding interface (),
+ third-party extensions can also provide similar functionality.
+
+
+
+
Trigger-Based Master-Standby Replication
Shared Disk Failover
File System Replication
Write-Ahead Log Shipping
+ Logical Replication
Trigger-Based Master-Standby Replication
Statement-Based Replication Middleware
Asynchronous Multimaster Replication
|
- Most Common Implementation
+ Most common implementations
NAS
DRBD
- Streaming Repl.
- Slony
+ built-in streaming replication
+ built-in logical replication, pglogical
+ Londiste, Slony
pgpool-II
Bucardo
|
- Communication Method
+ Communication method
shared disk
disk blocks
WAL
+ logical decoding
table rows
SQL
table rows
•
•
•
+ •
|
+ •
•
•
•
•
+ •
•
•
with sync off
+ with sync off
•
•
•
•
with sync on
+ with sync on
•
|
- Standby accept read-only queries
+ Replicas accept read-only queries
- with hot
+ with hot standby
+ •
•
•
•
•
+ •
•
•
•
•
•
+
•