/

Data Integration

Best Postgres Replication Tools in 2026

Intergalactic Data Labs

—

—

17 min read

Table of contents

Summarize

Updated October 19, 2026

Postgres replication keeps a second system in step with every change committed on a Postgres primary. Physical streaming replication ships the write-ahead log byte for byte to a standby, which gives you failover and read replicas. Logical replication decodes committed rows through a replication slot and the pgoutput plugin, which lets you copy selected tables to another Postgres, a warehouse, or a lake. Every external tool builds on that second path. Ten tools cover most jobs in 2026. Filament by Galaxy, Debezium, and PeerDB are change data capture engines you run yourself. Fivetran, Airbyte, and AWS DMS are managed or semi-managed pipelines. Built-in logical and streaming replication, pglogical, and the multi-master pair pgEdge Spock and EDB Postgres Distributed round out the list. The destination, how deletes travel, and who runs the software decide the pick.

The best Postgres replication tools in 2026, ranked

The ranking serves a team that owns a busy Postgres and needs a current copy somewhere else. Entries two and three are built in and belong on any Postgres to Postgres shortlist. External tools are ordered by how many of the six criteria further down they clear.

1. Filament. An Apache 2.0 Go engine, per its LICENSE, that reads Postgres in full, incremental, or change data capture mode through pgoutput. Each table is first read through the slot's exported snapshot, "so the baseline and the change stream share one consistent point," per the Postgres source docs. Every batch carries a CRC32-C checksum, and there is no row or gigabyte meter. As of November 2026 the Snowflake, Redshift, and Databricks sinks are in preview, per the connector overview. Its database sources are Postgres and MySQL only.

2. Postgres logical replication. The built-in publish and subscribe method, needing only wal_level=logical, a publication, and a subscription. The logical replication docs describe a snapshot copied to the subscriber, then changes "sent continually." It is the right default for a selective Postgres to Postgres copy or a cross-version upgrade. The subscriber must be Postgres.

3. Postgres streaming replication. The physical method and the only entry here that gives you a failover target. The warm standby docs say it is "asynchronous by default" and that shipping between major versions "is not possible." Pair it with Patroni or repmgr for automatic promotion.

4. Debezium. The reference open source engine, Apache 2.0 per its LICENSE, publishing each table to its own topic. "Most commonly, you deploy Debezium by means of Apache Kafka Connect," per the 3.7 architecture page, though Debezium Server runs without Kafka. Its delivery docs state "Debezium provides at-least-once delivery guarantees" by default. No warehouse writer ships in the box.

5. PeerDB. A Postgres-first engine that ClickHouse acquired, with TOAST caching that removes the need for REPLICA IDENTITY FULL, per why PeerDB. Only ClickHouse, ClickHouse Cloud, and Postgres destinations are actively maintained, and Snowflake, BigQuery, S3, and Kafka are now deprecated. It needs Temporal plus a catalog Postgres, per the architecture page, and the LICENSE is AGPLv3.

6. pglogical. The 2ndQuadrant extension that brought logical replication to Postgres before core did. Version 2.4.8 is a maintenance release with 2026 security fixes, per its README, which also says EnterpriseDB focuses new features on Postgres Distributed and that "automatic DDL replication is not supported." Pick it for a legacy cluster.

7. Fivetran. The widest managed catalog and the answer for a team that will not operate replication software. It supports Postgres 10 to 18, and its Query-Based method replaced XMIN and Teleport Sync, catching deletes only with Capture Deletes enabled, per the Postgres connector docs. It bills monthly active rows, with 500,000 free and one-minute syncs on Enterprise, per its pricing page.

8. Airbyte. Open source, with connectors under the Elastic License 2.0, per its license page. The Postgres source offers CDC through pgoutput plus xmin and cursor modes, and a CDC source "can only be used with a single Airbyte destination," per the troubleshooting page. Cloud Standard starts at $20 a month with 5 credits and $5 per extra credit, per its pricing page.

9. AWS DMS. The easy answer for a migration into AWS. DMS "uses either test_decoding or pglogical plugin," per the source docs, and the CDC docs say it "does not provide real-time replication." Billing is by instance hour or serverless capacity units, inside AWS only.

10. pgEdge Spock and EDB Postgres Distributed. The two multi-master options, both descended from pglogical. Spock supports Postgres 15 through 19 under the PostgreSQL License, with automatic DDL replication, but builds against a patched Postgres source tree, per its README. EDB PGD 6.5 adds "DDL replication, replication sets, sequences, stream triggers" on a commercial stack.

Postgres replication tools compared

Tool

Job

Method

Deploy

License

Pricing unit

Filament

Postgres to Postgres, warehouse, lake

pgoutput, consistent snapshot

Self-hosted, Kubernetes

Apache 2.0

None

Logical replication

Postgres to Postgres, selective

pgoutput, built in

Core Postgres

PostgreSQL

None

Streaming replication

Standbys and failover

Physical WAL

Core Postgres

PostgreSQL

None

Debezium

Change feed for many consumers

pgoutput to Kafka Connect or Server

JVM

Apache 2.0

None

PeerDB

Postgres to ClickHouse

pgoutput, Temporal

Docker stack, ClickPipes

AGPLv3

None self-hosted

pglogical

Legacy Postgres to Postgres

Own output plugin

Extension

PostgreSQL

None

Fivetran

Managed, many destinations

pgoutput or Query-Based

SaaS, hybrid

Proprietary

Monthly active rows

Airbyte

Open catalog, managed or self

pgoutput, xmin, cursor

Core or Cloud

ELv2 connectors

Credits on Cloud

AWS DMS

Migration into AWS

test_decoding or pglogical

AWS only

Proprietary

Instance or DCU hour

Spock and EDB PGD

Multi-master Postgres

Logical, bidirectional

Extension or EDB stack

PostgreSQL or commercial

Support or license

Facts come from each tool's docs, LICENSE file, and pricing page, rechecked on October 19, 2026.

What are the best ETL tools for PostgreSQL?

The best ETL tools for PostgreSQL in 2026 are Filament, Fivetran, Airbyte, Estuary, dlt, and AWS DMS. All of them read changes through logical replication, and they differ in where they run, how they bill, and what they write to.

  1. Filament fits teams that want change data capture into Postgres, a warehouse, or a lake from their own network, with no meter and a checksum on every batch.

  2. Fivetran fits teams that will not run software and accept a monthly active row bill.

  3. Airbyte fits teams that want one open source platform for many sources, self-hosted or on credits.

  4. Estuary fits streaming delivery for $0.50 per GB plus $100 a month for each of the first six connectors, per its pricing docs, under a BSL 1.1 license.

  5. dlt fits Python teams. Its pg_replication source uses pgoutput, and the library stays Apache 2.0 while managed dltHub costs $12,000 a month, per dltHub pricing.

  6. AWS DMS fits one-off moves into AWS.

Google Datastream charges $2.00 per GiB for the first 2,500 GiB of CDC and lands in Google Cloud. Stitch starts at $100 a month and needs the wal2json plugin on a primary, per its Postgres docs. The Postgres to Snowflake guide walks through one warehouse route end to end.

How does Postgres logical replication work?

Postgres logical replication copies a snapshot of each published table, then streams every later insert, update, and delete in commit order. It works per table, crosses major versions, and lets the subscriber keep its own data, unlike physical replication, which uses "exact block addresses and byte-by-byte replication," per the logical replication docs.

A publication names the tables, a subscription pulls them, and a slot on the publisher holds WAL until the subscriber confirms it. pgoutput "is the standard one used for the built-in logical replication," and every external engine reads the same stream. Two gaps matter. "The database schema and DDL commands are not replicated," and "sequence data is not replicated," per the restrictions page. The logical replication guide covers setup and monitoring in depth.

What are the best platforms for global PostgreSQL replication, ranked?

For read-heavy global apps, Aurora Global Database and cross-region read replicas are the simplest choice. For writes in every region, pgEdge Spock, EDB Postgres Distributed, or Aurora DSQL are the options. Native logical replication can run bidirectionally, but you own conflict handling.

  1. Aurora Global Database replicates storage to up to 10 secondary regions "with latency typically under a second," per the Aurora docs. Secondaries serve reads only.

  2. pgEdge Spock runs multi-master logical replication across regions on open source Postgres, with conflict avoidance and automatic DDL, per its README.

  3. EDB Postgres Distributed offers multi-master writes on all nodes with commercial support, per the PGD docs.

  4. Aurora DSQL is a PostgreSQL-compatible, active-active service with "99.999% multi-Region availability," per AWS. It is compatible, not stock Postgres, so check feature support first.

  5. Native logical replication with origin = none on each subscription stops changes from looping between two nodes. Postgres applies a change "even if it was changed locally on the subscriber," per the conflicts page, so partition writes by region.

On RDS, the pgactive extension adds active-active writes. Google Cloud SQL and Azure both offer cross-region read replicas. pglogical still works but gets no new features.

What is the best tool to upsert Postgres change data capture into Delta tables?

On Databricks, the Lakeflow Connect Postgres connector with the AUTO CDC APIs is the most direct path to merged Delta tables, and Fivetran and Estuary are the managed alternatives. The goal is one current row per primary key, with deletes applied, rather than an append-only change log.

  • Databricks Lakeflow Connect reads Postgres through logical replication into streaming tables, and the connector is in Public Preview. The AUTO CDC APIs apply keys and sequencing for SCD Type 1 or Type 2 tables.

  • Fivetran writes Unity Catalog managed tables in Delta Lake, per its Databricks destination docs.

  • Estuary supports "both standard (merge) and delta updates" on its Databricks connector. Here delta updates means append-only, so keep standard updates for an upsert.

  • Debezium plus your own Spark job works too, since Delta Lake supports inserts, updates, and deletes in MERGE.

Filament’s Databricks sink is in preview as of November 2026 and append-only. It “does not replace, upsert, merge or delete,” per the Zerobus sink docs, so it fits raw landing tables, not a merged Delta copy.

How do you migrate a PostgreSQL database with zero downtime?

Copy the database with logical replication or a change data capture tool, let it catch up while the old primary keeps serving traffic, then cut writes over in a short window. Downtime shrinks to the time it takes to stop writes, confirm the last change landed, and repoint the app.

Three details decide whether the cutover is clean. Sequences do not replicate, so set them on the target before you switch. DDL does not replicate, so freeze schema changes during the move. Since Postgres 17, pg_upgrade can carry logical slots, so an existing replication setup survives a major upgrade. The zero downtime migration guide walks through each step, including rollback.

Filament runs this pattern with a CDC source and a merge-mode Postgres sink, where "inserts and updates upsert, and deletes delete," per the Postgres sink docs.

How should you choose a Postgres replication tool?

Six criteria separate these tools, and the destination eliminates most candidates first. Built-in replication only reaches another Postgres.

Criterion

What to check

Why it matters

Destination

Postgres only, or warehouse and lake too

Built-in methods stop at Postgres

Deletes and DDL

Log based, query based, DDL channel

Query based capture misses hard deletes

Snapshot consistency

One point for baseline and stream

Otherwise gaps or duplicates after the copy

Recovery

Checkpoints, resume, delivery guarantee

A restart from zero on 300M rows is a day lost

Footprint

Extension, binary, JVM, Kafka, SaaS

Each moving part is an outage path

Cost model

Rows, GB, credits, hours, or none

Per-row meters grow with your data

Query based capture polls a column, and Fivetran says that mode "does not preserve details about deleted rows" unless deletes are captured, per its connector docs.

How we ranked these Postgres replication tools

Each entry was scored on the six criteria from its own documentation, LICENSE file, and pricing page. Where a tool ran in the public 2026-08-31 cohort, a full load of 298,270,427 NYC Taxi rows from one RDS Postgres to another, its median result is reported. Filament's median run took 114.83 s, per its result file.

Tool

Wall time (s)

Rows per second

Peak memory

Repetitions

Filament

115

2,597,498

2.97 GiB

3

dlt

296

1,007,711

45.54 GiB

3

PeerDB

415

718,368

1.20 GiB across 7 containers

3

pg_dump to psql

489

610,267

0.01 GiB

3

ingestr

611

488,233

4.83 GiB

3

Sling

1,053

283,188

0.10 GiB

3

Debezium

6,559

45,476

15.70 GiB

1

Airbyte

10,393

28,698

12.82 GiB source container

1

The Debezium row is its initial snapshot with a JDBC sink, not the streaming it is built for. The methodology "verifies row counts, not row contents." Fivetran, DMS, and the built-in methods did not run, so they carry no number. The benchmark write-up has the full setup.

Where Filament fits against these criteria

Filament clears all six criteria for a Postgres team, and Galaxy builds it, so weigh this section accordingly. On destination, one engine writes typed Postgres tables and stages data into the warehouse and lake sinks. On deletes, CDC merge applies them in order. On consistency, the bootstrap and the stream share one snapshot.

On recovery, the sink recomputes each batch's CRC32-C checksum, and the integrity docs say the check "is sensitive to row order, column order, nulls, values, and operations." Delivery is at-least-once, and merge writes are idempotent on the primary key. On footprint, a deployed setup runs from one Helm chart with Postgres and NATS JetStream. On the baseline copy, it loaded the cohort 4.3 times faster than pg_dump piped into psql.

How to replicate Postgres with Filament

Set wal_level=logical, which "can only be set at server start," per the Postgres docs, and give every streamed table a primary key. Then install the CLI with the one-line script or Homebrew from the installation page and define a source, a sink, and a pipeline with the CLI.

filament source create app-db \
  --source-connector postgres \
  --source-connection-method url \
  --source-dsn-env POSTGRES_DSN \
  --source-replication cdc

filament sink create replica-db \
  --sink-connector postgres \
  --sink-connection-method url \
  --sink-dsn-env POSTGRES_SINK_DSN

filament pipeline create orders-mirror \
  --source app-db \
  --sink replica-db \
  --resources orders,customers \
  --sync-mode cdc \
  --write-mode

filament source create app-db \
  --source-connector postgres \
  --source-connection-method url \
  --source-dsn-env POSTGRES_DSN \
  --source-replication cdc

filament sink create replica-db \
  --sink-connector postgres \
  --sink-connection-method url \
  --sink-dsn-env POSTGRES_SINK_DSN

filament pipeline create orders-mirror \
  --source app-db \
  --sink replica-db \
  --resources orders,customers \
  --sync-mode cdc \
  --write-mode

filament source create app-db \
  --source-connector postgres \
  --source-connection-method url \
  --source-dsn-env POSTGRES_DSN \
  --source-replication cdc

filament sink create replica-db \
  --sink-connector postgres \
  --sink-connection-method url \
  --sink-dsn-env POSTGRES_SINK_DSN

filament pipeline create orders-mirror \
  --source app-db \
  --sink replica-db \
  --resources orders,customers \
  --sync-mode cdc \
  --write-mode

The first run creates the publication and slot, copies each table through the exported snapshot in up to 64 parallel ranges, and checkpoints every batch. Later runs are bounded catch-ups to the current WAL position, so continuous replication is a loop you schedule with cron or a Kubernetes job.

What are the common pitfalls with Postgres replication?

Four failures show up with every tool on this list, built-in methods included.

  • Slots hold WAL until the consumer confirms it. In extreme cases "this could cause the database to shut down to prevent transaction ID wraparound," per the logical decoding docs.

  • DDL does not travel through logical decoding, so an ALTER TABLE reaches no subscriber on its own.

  • Tables without a replica identity "cannot support UPDATE or DELETE operations," per the publication docs.

  • An update that leaves a TOAST column untouched arrives without its value unless the table has REPLICA IDENTITY FULL or the tool caches it.

Which Postgres replication tool fits which job?

The destination decides first, then who runs the software.

Constraint

Pick

Why

Failover and read replicas

Streaming replication

Physical standby, fast promotion

Selective Postgres to Postgres

Logical replication

Built in, no extra software

Warehouse, lake, or Postgres, run it yourself

Filament

Consistent bootstrap, checksums, no meter

Many consumers share one change feed

Debezium

Ordered topics

Target is ClickHouse

PeerDB

Native ClickPipes path

No engineers to run software

Fivetran

Managed, widest catalog

Migration into AWS

AWS DMS

Native service

Writes in every region

pgEdge Spock or EDB PGD

Multi-master with DDL replication

Merged Delta tables on Databricks

Lakeflow Connect

AUTO CDC into Delta

A team that keeps data in its own network and needs Postgres mirrored into a warehouse, a lake, or a second Postgres should start with Filament. For failover, use streaming replication. For a shared change bus, use Debezium. The best CDC tools roundup and the database replication guide cover sources beyond Postgres.

Frequently asked questions

What are the main types of Postgres replication?

Postgres ships two methods. Physical streaming replication copies the write-ahead log byte for byte to a read-only standby that clones the whole cluster. Logical replication decodes committed changes to selected tables and sends them through a publish and subscribe model. External tools build on logical decoding to reach warehouses, lakes, and other databases.

What is the difference between streaming replication and logical replication in Postgres?

Streaming replication mirrors the entire cluster at the block level, needs the same major version on both sides, and produces a standby you cannot write to. Logical replication works per table, crosses major versions, and lets the subscriber hold other data, but it does not carry DDL or sequences. Use streaming for failover and logical for selective copies.

What are the best ETL tools for PostgreSQL?

Filament, Fivetran, Airbyte, Estuary, dlt, and AWS DMS lead in 2026, and all read changes through logical replication. Filament runs in your network with no meter. Fivetran is fully managed and bills monthly active rows. Airbyte is open source with a credit-based cloud. Estuary streams for a per GB fee. dlt is a Python library. DMS fits moves into AWS.

What are the best platforms for global PostgreSQL replication?

Aurora Global Database is the simplest for global reads, with up to 10 secondary regions and typical lag under a second. For writes in every region, pgEdge Spock and EDB Postgres Distributed run multi-master Postgres, and Aurora DSQL offers a PostgreSQL-compatible active-active service. Native logical replication can run both ways with origin set to none, but you must avoid conflicts yourself.

What is the best tool to upsert Postgres change data capture into Delta tables?

On Databricks, Lakeflow Connect’s Postgres connector with the AUTO CDC APIs merges changes into Delta tables by key, though the connector is still in Public Preview. Fivetran writes Delta tables in Unity Catalog, and Estuary’s Databricks connector merges by default. Filament’s Databricks sink is in preview as of November 2026 and append-only, so it does not upsert.

Which Postgres replication tool is best for high availability?

Built-in streaming replication with a cluster manager such as Patroni or repmgr is the standard answer for failover and read replicas. The standby stays close to the primary and can promote when the primary fails. Logical replication and change data capture tools move data to other systems and are not failover tools.

What is the best open source Postgres replication tool?

It depends on the destination. For Postgres to Postgres, built-in logical replication needs no extra software. For a shared change feed, Debezium is the reference engine. For copies into a warehouse, lake, or another Postgres that you run yourself, Filament is an Apache 2.0 engine with checkpointed full, incremental, and CDC reads and the fastest full load in the public cohort.

Does Postgres logical replication replicate schema changes?

No. The Postgres docs state that the database schema and DDL commands are not replicated, so the initial schema is copied with pg_dump and later changes must be applied by hand. Sequences are not replicated either. Most CDC engines inherit the same limit, while EDB Postgres Distributed and pgEdge Spock add DDL replication.

Why does a replication slot fill up disk?

A slot keeps every WAL segment its consumer has not confirmed. If the subscriber or CDC tool stops, WAL keeps growing until the disk runs out. Set max_slot_wal_keep_size, monitor slot lag, and drop slots nobody uses.

How do you replicate Postgres to Postgres with Filament?

Install the CLI, create a source and a sink that each point at a Postgres DSN, then create a pipeline that lists the tables, a sync mode, and a write mode. Setting replication to cdc on the source and merge as the write mode copies each table through the slot's exported snapshot, then streams changes in bounded catch-up runs.

Is Filament faster than pg_dump for copying a Postgres database?

In the public 2026-08-31 cohort, Filament copied 298 million rows from one Postgres to another in 115 seconds, while piping pg_dump into psql took 489 seconds on the same hardware. The cohort does not measure incremental or CDC throughput, so the comparison covers the initial copy only.

More articles

Stay up to date with what we’re building

Stay up to date with what we’re building

Stay up to date with what we’re building

Questions

Answered

FAQ

What does Galaxy do?

What is Filament?

What is enterprise context management?

What does working with Galaxy look like?

How do you handle security and compliance?

Why does Galaxy build in the open?

Own your knowledge stack

Own your knowledge stack

Copyright © 2026 Galaxy. All rights reserved.