asynchronous-replication · shipping

Asynchronous replication

Asynchronous replication allows primary-side completion without waiting for the corresponding update to reach a specified processing stage on a replica.

Related Observatory article: Read on hesela.com

The remote copy may lag, so promotion can lose acknowledged transactions that it has not received. PostgreSQL 18 streaming replication defaults to this mode. This is distinct from asynchronous local commit: local WAL can be durable while remote replication remains asynchronous. A lag observation alone is not a recovery-point guarantee. Asynchronous replication can still encounter backpressure when buffers fill, as documented for DRBD protocol A. A replication slot can retain WAL during disconnection without changing this acknowledgement policy. [5]

Relations

related
Synchronous replication, Replication lag, Mirroring (storage), Replication slot, Failover

Citations

  1. PostgreSQL 18: replication slots and WAL retention (accessed 2026-10-16)

Further reading

  1. PostgreSQL 18: warm standby and synchronous replication (accessed 2026-10-12)
  2. PostgreSQL 18: WAL settings, synchronous_commit (accessed 2026-10-12)
  3. Replication acknowledgements: received, durable, applied (accessed 2026-10-12)
  4. LINBIT DRBD 9 guide: section 2.3, replication modes (accessed 2026-10-12)

JSON: /data/terms/asynchronous-replication.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Asynchronous replication. Hesela. 2026-11-18. https://hesela.dev/terms/asynchronous-replication/