bdr
bdr · Active-active logical replication and distributed consistency for PGD.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101867 | bdr | bdr | 6.5 | ETL | Proprietary | Unknown |
Usage
Sources:
bdr is the provider extension at the core of EDB Postgres Distributed (PGD), providing active-active logical replication, node groups, conflict management, consensus, and distributed commit policies.
Install and Preload
Install the matching PGD 6.5 package on every node, enable commit timestamps, preload bdr, and restart all nodes before creating the extension:
Only a superuser creates the extension. PGD administration should otherwise use the predefined bdr_ roles.
Initialize and Join a Group
On another prepared node, create bdr, call bdr.create_node, and join with bdr.join_node_group. Use bdr.wait_for_join_completion before directing traffic.
Distributed-System Boundaries
Group creation, join, parting, and consensus operations are asynchronous and are not rolled back with the surrounding SQL transaction. Every node must have compatible PGD/PostgreSQL binaries and extension packages before DDL replication reaches it. Plan replication slots/origins, conflict policy, commit scopes, sequence behavior, DDL, role propagation, backup/restore, node loss, and network partitions; a successful CREATE EXTENSION proves only local installation, not cluster health.