Your decision depends on where writes originate, how you'll handle conflicts, and whether your team can manage multiple writable nodes. This guide compares the available options and their trade-offs to help you choose.

What multi-master replication means in PostgreSQL
Multi-master replication allows multiple PostgreSQL nodes to accept writes concurrently and replicate changes between them. You'll also encounter these related terms:
- Multi-master replication (MMR)
Multiple nodes accept and replicate writes. - Active-active replication
Multiple nodes remain writable. - Bi-directional replication
Changes flow in both directions, although write ownership may be restricted. - BDR
Also refers to a product lineage originating at 2ndQuadrant and now part of EnterpriseDB.
How does multi-master differ from streaming and logical replication?
Physical streaming replication maintains a read-only standby, while logical replication transfers row-level changes between PostgreSQL databases.
- Physical streaming replication
Replays write-ahead log (WAL) records on a standby. The standby can serve queries through hot standby but can't accept application writes. - Logical replication
Uses logical decoding to replicate inserts, updates, and deletes. Subscribers can also accept local writes, but PostgreSQL doesn't automatically coordinate conflicts between writable nodes.
Multi-master solutions build on logical replication or trigger-based mechanisms, adding controls for replication loops and concurrent writes.
Why doesn't PostgreSQL support native multi-master replication?
PostgreSQL doesn't provide a complete native framework for coordinating concurrent writes across multiple nodes. If two nodes update the same record, the system needs rules for deciding which change survives.
PostgreSQL 16 introduced origin filtering, enabling basic bi-directional logical replication without loops. However, origin filtering doesn't automatically resolve write conflicts.
The conflict problem that defines every multi-master design
Write conflicts occur when PostgreSQL nodes modify the same data before receiving each other's changes. Your replication solution needs a strategy for resolving them.
Depending on the implementation, conflict-handling options include:
- Last-update-wins
Retains the change with the latest timestamp, according to the implementation's rules. - Delta-apply
Applies numerical differences to configured columns, preserving concurrent increments or decrements. - Custom conflict resolution
Uses application-specific rules or handlers where supported.
With asynchronous replication, both nodes can acknowledge writes before detecting a conflict. An acknowledged update may subsequently be overwritten.
How network latency affects multi-master replication
Network latency affects the practicality of synchronous replication across regions. Depending on its configuration, synchronous replication can strengthen durability guarantees, but remote acknowledgment increases commit latency.
EnterpriseDB's 2024 PostgreSQL benchmarks found that the performance impact of synchronous replication was almost negligible at 3 ms network latency under high concurrency, while a measurable gap persisted at 10 ms. Cross-region connections can introduce considerably higher latency, making synchronous replication less practical for latency-sensitive workloads.
Asynchronous replication avoids waiting for remote acknowledgment but increases the window for conflicting writes. Synchronous replication alone doesn't provide globally coordinated transactions or automatic conflict prevention. Check each platform's documented consistency guarantees.
What are the operational challenges of multi-master replication?
Multi-master replication adds requirements for schema coordination, sequence management, monitoring, and upgrades.
The main operational challenges include:
- DDL coordination
Inconsistent schema changes can interrupt replication. - Sequence management
Independently generated identifiers can collide across nodes. - Monitoring
Track replication lag, conflicts, and node health across multiple paths. - Upgrades
Maintain replication compatibility while upgrading nodes.
These requirements add to your team's operational workload, particularly as you introduce more writable nodes across regions. You'll need consistent PostgreSQL security practices across every node, including access controls, audit logging, and compliance safeguards for regulated environments.
The multi-master options available in 2026
PostgreSQL multi-master replication options include native logical replication, pgactive, Fujitsu Enterprise Postgres, Spock, EDB Postgres Distributed, and Bucardo.
Native logical replication with origin filtering
PostgreSQL 16 and later support basic bi-directional replication without extensions. Each node publishes its changes and subscribes to the other.
| How it works |
See Fujitsu's bi-directional replication walkthrough for the full setup. |
| Capabilities | Origin filtering excludes changes that originated elsewhere, enabling basic two-way replication. |
| Best suited to | Origin filtering excludes changes that originated elsewhere, enabling basic two-way replication. |
| Limitations | PostgreSQL doesn't provide automatic conflict resolution or DDL replication. Conflicts can stop replication, while copy_data = true with origin = none creates initial synchronization limitations documented by PostgreSQL. |
pgactive
pgactive is an open-source logical replication extension maintained by AWS, with roots in earlier BDR technology. It supports active-active PostgreSQL deployments with automatic conflict handling.
| How it works |
The pgactive quick-start guide documents configuration. |
| Capabilities | The pgactive reference guide documents last-update-wins resolution, conflict history, replication statistics, and sequence-management functions. |
| Best suited to | Applications requiring multiple writable nodes that can tolerate eventual consistency. |
| Limitations | Replicated tables require primary keys, DDL changes need coordination, and certain conflicts require manual intervention. |
Fujitsu Enterprise Postgres multi-master replication
Fujitsu Enterprise Postgres combines multi-master replication across regions with primary-standby high availability within each region. Fujitsu's implementation is built on pgactive, the open source extension developed by AWS, with Fujitsu's own additions on top.
| How it works |
The Fujitsu Cluster Operation Guide documents the configuration. |
| Capabilities | Fujitsu supports bi-directional replication, table-level controls, and delta-based recovery, alongside local high availability. |
| Best suited to | Enterprise applications requiring cross-region writes and in-region failover. |
| Limitations | Requires a supported Fujitsu Enterprise Postgres release. Your team must still plan conflict resolution, sequence management, and schema changes. For mission-critical workloads, check that your enterprise PostgreSQL support covers incident response, escalation, and troubleshooting across multiple regions. |
Spock and pgEdge Distributed PostgreSQL
Spock is an open-source logical replication extension used by pgEdge for multi-master PostgreSQL deployments.
| How it works |
|
| Capabilities | Spock supports timestamp-based conflict resolution, configurable delta-apply columns, conflict logging, and optional DDL replication. |
| Best suited to | Applications requiring distributed writes and delta-apply handling for concurrent numerical updates. |
| Limitations | Timestamp-based resolution requires commit timestamp tracking. Automatic DDL replication needs configuration and has documented restrictions, particularly in multi-node deployments. Check feature support against your installed Spock version. |
EDB Postgres Distributed
EDB Postgres Distributed (PGD) is a commercial multi-master platform based on the BDR technology lineage developed by 2ndQuadrant.
| How it works |
|
| Capabilities | The vendor documents automatic conflict resolution, configurable resolvers, conflict tracking, DDL replication, and eager replication modes. |
| Best suited to | Geographically distributed applications requiring configurable conflict-management policies. |
| Limitations | Requires commercial licensing and supported EDB builds. Certain conflicts can interrupt replication and require intervention. |
Bucardo
Bucardo is an open-source, trigger-based system for asynchronous PostgreSQL multi-master replication. It uses database triggers and an external Perl daemon to synchronize changes.
| How it works |
See the Bucardo documentation for configuration instructions. |
| Capabilities | Bucardo supports built-in and custom conflict handlers, including source selection and custom Perl rules. |
| Best suited to | Existing Bucardo deployments or applications requiring trigger-based replication. |
| Limitations | Triggers add processing overhead, while the daemon and control database require separate administration. DDL changes need coordination. |
| Where pglogical fits | pglogical provides extension-based logical replication and influenced earlier BDR implementations. It doesn't independently provide the complete multi-master conflict-management capabilities described above. |
Comparing PostgreSQL multi-master replication options
PostgreSQL multi-master solutions differ in how they replicate changes, how they resolve conflicts, whether failover inside a region comes with them, and how much operational work they hand to your team. The table below compares those dimensions against each option’s documented behavior.
| Option | Replication mechanism | Conflict resolution | In-region failover | Track record | What it asks of your team |
| Native logical replication | Core logical replication with origin filtering | None automatic; apply worker can stop on conflicts | Separate tooling required | Origin filtering has shipped in PostgreSQL core since version 16 | Standard PostgreSQL administration, manual DDL coordination, and conflict handling built into the application |
| pgactive | Logical replication extension | Automatic, including last-update-wins, with conflict logging | Separate tooling required | Published and maintained by AWS, on lineage running back to earlier BDR work | Extension management, primary keys on replicated tables, sequence planning, manual DDL coordination |
| Fujitsu Enterprise Postgres | pgactive-based logical replication | pgactive-based; supported policies depend on Fujitsu’s implementation | Included, through Mirroring Controller | Built on pgactive, with Fujitsu’s additions and commercial support behind it | Vendor-supported deployment; conflict and schema planning still sit with your team |
| Spock / pgEdge | Logical replication extension | Timestamp-based resolution, delta-apply, conflict logging | Separate tooling required | Developed for pgEdge’s distributed platform and published as open source | Version-matched extension management, commit timestamp tracking, DDL replication configuration |
| EDB Postgres Distributed | BDR-based logical replication | Multiple resolvers, conflict triggers, eager replication options | Per vendor documentation | Commercial platform on the BDR lineage from 2ndQuadrant | Licensed builds and vendor-specific operational tooling |
| Bucardo | Trigger-based asynchronous replication | Built-in and custom conflict handlers | Separate tooling required | The longest-running option here, predating logical replication in core | Perl daemon and control database administration, trigger maintenance, manual DDL coordination |
Comparison of PostgreSQL multi-master replication options
The replication machinery behind every option here has years of production use. What varies is how long each has existed as a packaged product. Native logical replication and Bucardo are the longest-standing, and native logical replication is the only option that needs nothing installed. pgactive carries lineage running back to earlier BDR work, and the platforms built on top of it, including Fujitsu’s, are newer as products than the engine underneath them. What separates the options in practice is the right-hand column: anything beyond standard PostgreSQL administration — trigger and daemon maintenance, commit timestamp tracking, conflict policy design — wants someone who has run it before.
When multi-master replication is the wrong choice
Multi-master replication solves exactly one problem: accepting writes in more than one location. Most requirements that arrive labeled "we need active-active" are one of the four below wearing the same words, and each has an answer that costs far less to operate.
- Read scaling and load balancing
Use hot standby replicas with read-query routing through a solution such as Pgpool-II. - Regional read performance
Place streaming replicas closer to users, using cascading replication where appropriate. - Fault tolerance and failover
Use streaming replication with automated failover to maintain availability after a primary failure. - Write-throughput scaling
Consider sharding or a distributed database architecture to distribute writes across partitions.
For example, manufacturers operating multiple plants may need local database availability to keep production running during network interruptions. That requirement should inform their manufacturing database modernization strategy before they commit to multi-master replication.
How to decide if you need multi-master replication
Before choosing multi-master replication, ask three questions:
- Do writes need to originate in multiple regions?
If you can route writes to one primary, multi-master may add unnecessary complexity. - Can your application tolerate conflicting writes?
Asynchronous replication requires a strategy for handling conflicts and eventual consistency. - Can your team manage multiple writable nodes?
Consider monitoring, schema changes, failover, and conflict resolution across regions.
If your requirements don't justify that additional complexity, a single-primary architecture may provide the scalability and availability you need.
How Fujitsu Enterprise Postgres supports multi-region availability
Fujitsu Enterprise Postgres combines multi-master replication across regions with primary-standby high availability within each region. The implementation provides:
- Bi-directional replication
Synchronizes data between regions without installing a separate replication tool. - In-region high availability
Uses primary-standby duplication, with Mirroring Controller managing monitoring, automatic failover, and split-brain prevention. - Delta-based recovery
Synchronizes changes made during an interruption without requiring a full data resynchronization. - Active nodes
Allows each region to process writes rather than reserving an entire region as a standby. - Table-level controls
Lets you include or exclude specific tables from replication.
For infrastructure-specific requirements, Fujitsu also offers Enterprise Postgres on IBM LinuxONE, combining database high availability with hardware-backed encryption and disaster recovery capabilities.
You'll still need to plan conflict resolution, sequence management, and schema changes. See the Fujitsu Enterprise Postgres key features for further capability details.
Choosing a PostgreSQL replication architecture you can operate
Choose your architecture based on write locations, conflict tolerance, and your team's operational capacity.
Fujitsu brings 24/7 global enterprise support to deployments with regulated industry requirements and data residency requirements.
Test it against your own availability targets with a free trial of Fujitsu Enterprise Postgres.
Frequently asked questions about PostgreSQL multi-master replication
Does PostgreSQL support multi-master replication natively?
PostgreSQL doesn't provide a complete native multi-master replication solution. Physical streaming replication uses a single writable primary, while logical replication allows subscribers to accept local writes. PostgreSQL 16 introduced origin filtering for basic bi-directional replication, but automatic conflict handling requires additional tooling or application logic.
What is the difference between multi-master and bi-directional replication?
Multi-master and bi-directional replication describe closely related architectures that allow multiple PostgreSQL nodes to accept and exchange writes. Multi-master emphasizes multiple writable nodes, while bi-directional replication describes changes flowing in both directions. You'll also encounter active-active and BDR, although BDR refers to a specific technology lineage originating at 2ndQuadrant and now part of EnterpriseDB.
How are write conflicts resolved in multi-master PostgreSQL?
Write conflicts in multi-master PostgreSQL are resolved using strategies such as last-update-wins, delta-apply, or custom conflict handlers. The available methods depend on your replication solution. With asynchronous replication, conflicting writes may already have been acknowledged before resolution occurs, meaning one update could subsequently be overwritten.
Is multi-master replication suitable for high availability?
Multi-master replication can improve write availability across nodes, but failover and fault tolerance depend on the implementation. You may still need separate monitoring and automated failover. Fujitsu Enterprise Postgres combines cross-region multi-master replication with primary-standby high availability within each region.
Can you run multi-master replication across cloud regions?
You can run PostgreSQL multi-master replication across cloud regions using extensions or platforms that support distributed writes. Network latency affects replication performance and consistency. Synchronous replication can increase commit latency across regions, while asynchronous replication allows nodes to accept writes independently but introduces potential conflicts and replication lag.




