Question 3 of 10Pro Only

What is the difference between physical replication and logical replication in PostgreSQL, and when would you use each?

Sample answer preview

PostgreSQL offers two distinct replication mechanisms, each suited for different use cases. Understanding when to use physical versus logical replication is important for a mid-level DBA designing a replication architecture.

physical replicationlogical replicationWALpublishersubscriberselective replication

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Database Administrator interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime