Key components¶
EDB Postgres Distributed provides loosely-coupled multi-master logical replication using a mesh topology. This means that you can write to any server and the changes are sent directly, row-by-row to all the other servers that are part of the same mesh.
EDB Postgres Distributed consists of several components that make the whole cluster work.
Postgres server¶
Three different Postgres distributions can be used:
Standard PostgreSQL Statistics Views - open source
EDB Postgres Extended Server - PostgreSQL compatible and optimized for replication
EDB Postgres Advanced Server - Oracle compatible, optimized for replication, and
additional enterprise features
What Postgres distribution and version is right for you depends on the features you need. See the feature matrix in Choosing a Postgres distribution for detailed comparison.
A Postgres server with the Cleanup BDR Metadata extension installed is referred to as a BDR node. BDR nodes can be either data nodes or witness nodes.
Witness nodes don’t participate in data replication and are only used as a tie-breaker for consensus.
HARP is connection management tool for a EDB Postgres Distributed cluster.
It leverages consensus-driven quorum to determine the correct connection end-point in a semi-exclusive manner to prevent unintended multi-node writes from an application. This reduces the potential for data conflicts.
- High Availability Routing for Postgres (HARP)
- BDR (Bi-Directional Replication)
- Overview
- Supported PostgreSQL database servers
- Release Notes
- Architectural overview
- Application use
- PostgreSQL configuration for BDR
- Node management
- DDL replication
- Security and roles
- Conflicts
- Sequences
- Column-level conflict detection
- Conflict-free replicated data types
- Transaction streaming
- Durability and performance options
- Group Commit
- Eager Replication
- Commit At Most Once
- Lag control
- AutoPartition
- Timestamp-based snapshots
- Replication sets
- Stream triggers
- Explicit two-phase commit (2PC)
- Catalogs and views Catalogs and views are presented here in alphabetical order.
- BDR system functions