# Using Stand-by Servers for Postgres Logical Replication

DevFeed: [Using Stand-by Servers for Postgres Logical Replication](<https://devfeed.tech/articles/using-stand-by-servers-for-postgres-logical-replication-18871.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/stand-by-servers-for-postgres-logical-replication/>)

Published: 2023-12-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [Replication](<https://devfeed.tech/topics/replication.md>), [Database](<https://devfeed.tech/topics/database.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [postgres](<https://devfeed.tech/tags/postgres.md>), [replication](<https://devfeed.tech/tags/replication.md>), [servers](<https://devfeed.tech/tags/servers.md>)

## AI overview

This tutorial explains Postgres logical replication from stand-by servers, including how replication supports high availability and load distribution. It contrasts logical replication with streaming replication and introduces the publish/subscribe model.

## Source excerpt

Table of Contents What is Postgres Logical Replication? Why Logical Replication On Stand-By Servers? Provisioning a Testing Environment Testing Things Out This post originally appeared on the Decodable blog. All rights reserved. For users of Change Data Capture (CDC), one of the most exciting features in Postgres version 16 (released in September this year) is the support for logical replication from stand-by servers. Instead of connecting to your primary server, you can now point CDC tools such as Debezium to a replica server, which is very interesting for instance from a load distribution perspective. I am going to take a closer look at this new feature in this two-part blog series: