Files
oam/knowledge base/peerdb.md
2025-03-16 12:01:14 +01:00

1.4 KiB

PeerDB

Fast, simple, and cost effective Postgres replication.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

API responses hide error messages behind a 200 OK HTTP status code as of 2025-03-14.

Setup
Check requirements
sourceDb=> SELECT name,setting FROM pg_settings WHERE name IN ('wal_level','rds.logical_replication');
          name           | setting
-------------------------+---------
 rds.logical_replication | on
 wal_level               | logical
(2 rows)
ALTER SYSTEM SET wal_level = logical;
ALTER SYSTEM SET max_wal_senders = 10;
ALTER SYSTEM SET max_replication_slots = 10;

Further readings

Sources