Skip to main content
InterviewHubPRO
Section Overview
Q48

Question 48 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

96%
PostgreSQL Enterprise (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

Logical Replication: Publications and Subscriptions.

senior LevelGraphQL

In Simple Words: Unlike physical replication which mirrors the entire disk cluster, Logical Replication replicates individual tables based on row-level data changes:

  • Supported via CREATE PUBLICATION on publisher and CREATE SUBSCRIPTION on subscriber.
  • Enables zero-downtime major version upgrades (e.g. Postgres 14 to Postgres 17) and cross-platform data synchronization.