Advanced Replication Techniques

Replication is one of the most important aspects of achieving high availability. Any unexpected failures on a database server could cause downtime for an application or a business. Configuring replication is thus the right practice to ensure that there is an option to perform failover in the event of disasters. 

PostgreSQL is known for providing robust replication features for high availability without the need for an enterprise license or additional fees. There are two types of replication methods that are built into the community PostgreSQL source, namely streaming replication and logical replication.

Here are some of the differences between the two replication types:

  • A standby in streaming replication does ...

Get PostgreSQL 13 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.