Postgres High Availability with CDC
Sep 12, 2025Sam Lambert

Summary
This post details the challenges of Postgres logical replication slots for CDC and HA, contrasting it with MySQL's GTID-based approach. It highlights how Postgres's slot progress dependency can hinder failover readiness and introduce coupling with external systems, while MySQL's binlog retention offers greater flexibility. The post quantifies the failure scenarios in Postgres, such as temporary slots on standbys during CDC quiet periods and issues with replacing replicas, and explains how MySQL's binlog architecture avoids these HA constraints.