Replication

In this chapter, we will learn several methods to copy entire databases or individual tables. We will cover the following recipes in this chapter:

  • Deciding what to copy
  • Securing the WAL stream
  • Setting up a hot standby
  • Upgrading to asynchronous replication
  • Bulletproofing with synchronous replication
  • Faking replication with pg_receivexlog
  • Setting up Slony
  • Copying a few tables with Slony
  • Setting up Bucardo
  • Copying a few tables with Bucardo
  • Setting up Londiste
  • Copying a few tables with Londiste
  • Setting up pglogical
  • Copying a few tables with pglogical

Get PostgreSQL High Availability Cookbook - Second Edition 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.