> For the complete site map for agents, see [llms.txt](https://percona.community/llms.txt).

# Mastering PostgreSQL Logical Replication: Introduction, Setup, Failures, and Best Practices

Source: https://percona.community/talks/2025/2025-03-05-mastering-postgresql-logical-replication-introduction-setup-failures-and-best-practices/

Logical replication in PostgreSQL is how you copy a subset of changes to another cluster: reporting, upgrades, or moving data between versions, without copying the whole instance the way physical replication does.

This talk covers setup (publication and subscription), typical failure modes (lag, slots, schema changes, conflicts), how to read the logs and debug, and what to tune so it stays reliable.

