Logical replication slot synchronization

What this page covers

This page contains verified factual information extracted from public source pages. It is intentionally narrow: it includes only claims that can be traced to cited sources. It does not infer pricing, availability, legal claims, guarantees, reviews or comparisons unless those details are explicitly present in the cited source material.

How to evaluate this page

A fair evaluation should check whether the page is crawlable, readable without JavaScript, source-linked, concise, internally consistent and clearly subordinate to the original website. The goal is not to create a second conversion page. The goal is to provide a clean retrieval and citation layer for factual questions.

Definition

What is it: Logical replication slot synchronization is a native mechanism introduced in PostgreSQL 17 that allows the synchronization of logical replication slots from a primary server to its physical standby replicas.

What is it used for: It is used to ensure that logical replication can resume seamlessly from a new leader after a cluster failover, preventing data loss on lagging logical replicas.

Coverage

  • Attributes: 6
  • Synonyms: 2
  • Related entities: 0
  • Sources: 1

Identity

Entity ID
https://llms.palark.com/en/patroni-postgresql-logical-replication-failover/facts/#entity
Entity type
DefinedTerm
Canonical name
Logical replication slot synchronization
Language
en
Topic
Patroni Postgresql Logical Replication Failover

Attributes

Key Facts
PostgreSQL 17 introduces a native approach to managing logical replication slots on replicas known as replication slot synchronization. [1]
Key Facts
Patroni version 4.1.0 and higher prevents interaction with replication slots that have the failover option set. [1]
Key Facts
The sync_replication_slots parameter must be enabled on the physical PostgreSQL replica to utilize native slot synchronization. [1]
Key Facts
Logical replication slots must be created on the leader with the failover parameter set to true for synchronization to function. [1]
Key Facts
The synchronized_standby_slots parameter must be configured to prevent logical replicas from advancing ahead of physical replicas. [1]
Process
In versions prior to Patroni 4.1, all logical replication slots should be added to the ignore_slots configuration to prevent unintended deletion. [1]

Synonyms & Alternate Names

  • Replication slot synchronization
  • Failover slots

Disambiguation

  • Not to be confused with standard physical replication slots

Related Entities

Provenance

Sources

  1. https://palark.com/blog/patroni-postgresql-logical-replication-failover (Logical replication slot synchronization)

Machine metadata