published fresh until

Postgres CDC: Debezium, Airbyte, Fivetran or scripts?

Summary As of October 2026, start with Fivetran for warehouse replication without a pipeline operator, Airbyte when connector control justifies ownership, and Debezium for an event platform; avoid custom logical-decoding scripts as the first production path and evaluate Fivetran after reviewing PostgreSQL’s wal_level

Not for agent access to Postgres through Supabase or Neon MCP, see postgres-database-access-for-agents

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Evaluate Fivetran first for Postgres-to-warehouse replication without a dedicated pipeline operator; use Airbyte for connector control, Debezium for owned change-event infrastructure, and custom scripts only with explicit recovery ownership.

Do first: review the source PostgreSQL wal_level setting

1. Name the destination, acceptable freshness, deletion behavior, largest table and change rate. Check that the exact source/destination pair supports the required types and modes. 2. Plan initial snapshot, interruption, resume, schema change and full rebuild with synthetic records. Define who responds when the consumer stops. 3. Require alerts for replication lag, retained WAL and destination apply failures. Compare normal usage and a resync month before choosing a plan.

The problem

Capturing changes is only part of loading an analytics warehouse. You also need a consistent historical load, destination mapping, durable progress and repeatable recovery. The recommendation is about who owns these jobs, not a claim that managed connectors never fail.

Versions, costs and limits, checked 2026-10-28

Option and purposeVerified status, cost or limitPrimary source
Debezium, change-event capture infrastructureOfficial docs identify 3.7 as latest stable. Apache-2.0; infrastructure, destination sink and operator time remain your responsibility.Stable Postgres connector, licence
Airbyte, source-to-destination integrationCore is free to self-host. Managed Standard starts at USD 20/month with 5 credits, approximately 1 GB of syncs, and hourly scheduling; Plus starts at USD 189/month with 15-minute scheduling. Those are plan floors, not unlimited transfer.Pricing
Fivetran, managed data replicationFree connections allowance is 500,000 monthly active rows (MAR). Standard advertises 15-minute syncs; Enterprise 1-minute syncs. Paid cost depends on usage; do not equate total stored rows with MAR.Pricing
Logical-decoding scripts, a custom pipelinePostgreSQL is under the PostgreSQL License. Native logical replication does not replicate DDL or incremental sequence changes. There is no managed connector fee for code you own, but compute, storage, warehouse writes and recovery work still cost money.Restrictions, licence

Airbyte and Fivetran managed services are not pinned software releases. Airbyte's connector documentation distinguishes CDC from other incremental methods; choose the method deliberately. Fivetran's connector documentation describes logical replication and query-based methods. Query-based syncs can miss records that exist for less than the sync interval.

When to pick which

OptionWins whenLoses whenHonest pick-this-if line
DebeziumYou need reusable change events and have operators for durable offsets, transport and sinksYou only need an analytics table and nobody owns the event systemPick this if CDC events are platform infrastructure you intend to operate.
AirbyteYou need integration control and can evaluate or maintain connector behaviorSelf-hosting is chosen only to make a vendor bill disappearPick this if connector flexibility is worth the operational work or managed-plan cost.
FivetranThe destination is supported and reducing pipeline maintenance is the priorityMAR economics, residency or the required replication semantics do not fitPick this if a trial demonstrates correctness and acceptable billing for your data.
ScriptsA narrow, stable scope has a named maintainer and tested recovery designSchema drift, deletes and backfills make this a general replication productPick this if you can explain and test every recovery path you now own.

Debezium can run through Kafka Connect or Debezium Server; Kafka is not mandatory for every deployment. It captures changes, but your complete warehouse path must include the sink. Its Postgres guide warns that slots retain WAL during consumer outages, potentially consuming disk. Native Postgres subscriptions alone are not a generic BigQuery or Snowflake loader.

Community evidence

  • Airbyte issue 75277, avijayarajait, 2026-03-23: “retries restart from scratch”. The author describes snapshot failures on large tables; it supports testing initial-load recovery, not assuming a current universal failure.
  • Airbyte issue 81397, udosson, 2026-07-02: “permanently unable to sync”. The report concerns changing incremental methods and retained state; verify the current connector's migration behavior with disposable data.

For independent user trials of Debezium, Fivetran and custom scripts in this decision: Evidence: none found for each. Airbyte reports do not establish how those alternatives would behave.

Recommendation by constraint

  • Solo developer: Fivetran first if the source/destination trial and MAR estimate fit; do not create a custom CDC service merely to avoid a small connector bill.
  • Small team with a data engineer and connector customization needs: evaluate Airbyte; choose managed versus Core by who will operate upgrades and incidents.
  • Enterprise with an existing event platform: Debezium when multiple downstream consumers need the events. Enterprise needing only a supported warehouse feed: evaluate Fivetran against procurement and residency requirements.

A prompt to give your agent

Compare these four paths for our Postgres host, destination, change rate, deletion semantics and freshness target. Cite current connector support and pricing. Design synthetic insert/update/delete, additive schema change, interrupted snapshot and resume tests. Estimate a resync month and identify the WAL alert owner. Produce a plan without connecting to any database.

Mistakes to check

  • Using an updated-at cursor while expecting complete deletion capture.
  • Assuming a successful snapshot proves interruption recovery or schema evolution.
  • Treating a replication slot as a queue with unlimited safe retention.
  • Assuming CDC implies exactly-once warehouse results; verify deduplication and destination apply behavior.

Limits

No connector, snapshot, failover or recovery test was run. No throughput ranking or exactly-once guarantee is established. Connector compatibility must be confirmed for the actual Postgres host and destination. Community evidence is limited to Airbyte incidents, not a comparative reliability study; independent public trial evidence for the other paths is not established here. Evidence: none found for a controlled four-path comparison.

Started from a post by @Debezium, packaged by the editor. Original post

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Postgres CDC: Debezium, Airbyte, Fivetran or scripts?
Summary: As of October 2026, start with Fivetran for warehouse replication without a pipeline operator, Airbyte when connector control justifies ownership, and Debezium for an event platform; avoid custom logical-decoding scripts as the first production path and evaluate Fivetran after reviewing PostgreSQL’s `wal_level`
Copy for agent
get the whatworks thread postgres-to-warehouse-debezium-airbyte-fivetran-or-scripts and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread postgres-to-warehouse-debezium-airbyte-fivetran-or-scripts
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks