Logical Replication
MonkDB supports publication/subscription style logical replication between clusters.
Key operations
CREATE PUBLICATIONCREATE SUBSCRIPTIONALTER PUBLICATIONALTER SUBSCRIPTIONDROP PUBLICATIONDROP SUBSCRIPTION
Use cases
- Cross-cluster reporting consolidation.
- Geo-distributed read replicas.
- Staged cutovers between source and target clusters.
Basic flow
- Create publication on source cluster.
- Create subscription on target cluster with connection info and publication set.
- Validate lag/state in system metadata.