How To Set Up Physical Streaming Replication with PostgreSQL 12 on Ubuntu 20.04
Streaming replication is a popular method you can use to horizontally scale your relational databases. In this tutorial, you will set up physical streaming replication with PostgreSQL 12 on Ubuntu 20.04 using two separate machines running two separate PostgreSQL 12 clusters. One machine will be the primary and the other, the replica.