Change data capture is the default answer to a question most teams never ask, which is whether the table needs it. As of December 2026 BigQuery charges nothing to batch load a table and $0.025 per GiB to stream one in once the free 2 TiB a month is spent. That gap is the whole argument. A scheduled full load is free, boring, and good enough for most analytics tables.
Criterion | Nightly full load | Log-based change data capture |
|---|---|---|
Load cost on BigQuery | Free from Cloud Storage | $0.025 per GiB after 2 TiB a month |
Source prerequisites | A read-only connection | wal_level logical, a replication slot, a replica identity per table |
Deletes between runs | Applied on the next reload | Captured as events with history |
Schema changes | Picked up on the next reload | DDL is not replicated, so replication errors until the schema is fixed |
Moving parts | One scheduled job | A slot, a log reader, and usually Kafka Connect |
Freshness | Hours | Seconds |
Most tables are small and a full load is free
Warehouses price batch loading at zero. BigQuery’s pricing page says it plainly. “By default, you are not charged for batch loading data from Cloud Storage or from local files into BigQuery.” Snowflake went the same way in December 2025, when Snowpipe moved to a flat 0.0037 credits per GB.
The source side is as cheap, since pg_dump “does not block other users accessing the database (readers or writers).” The vendors agree on cadence. Fivetran syncs every six hours by default, Airbyte calls a 24 hour schedule its most common, and dbt calls incremental models “an advanced usage of dbt” for when runs become too slow.
Logical decoding is an operations commitment, not a config flag
Postgres needs wal_level set to logical, which “will increase the WAL volume,” plus a replication slot that survives crashes and disconnects. The default for max_slot_wal_keep_size is -1, so “replication slots may retain an unlimited amount of WAL files.” Amazon RDS warns that an unread slot “can be written and quickly fill up your DB instance’s storage.”
Every published table also needs a replica identity before updates and deletes replicate, and REPLICA IDENTITY FULL roughly doubles the WAL per update. Slots live only on the primary, and failover-safe slots only arrived in Postgres 17. MySQL purges its binlog after 30 days and RDS for MySQL after a week at most, so a reader that stops starts over.
The complexity does not disappear, it moves downstream
The consumer inherits every edge case the log emits. Logical replication does not carry DDL, so “subsequent schema changes would need to be kept in sync manually.” Unchanged TOAST columns reach Debezium as a placeholder, not a value. After a crash the manual expects duplicates. “Logical decoding clients are responsible for avoiding ill effects from handling the same message more than once.”
Debezium deploys through Kafka Connect, which “operates as a separate service besides the Kafka broker,” and Airbyte’s capture mode needs primary keys on most sources. A nightly reload has none of these states, and the delivery guarantees explainer shows what duplicates cost to handle.
The strongest case against this
Large tables and real deletes are where the argument fails. dbt’s trigger for incremental models is “millions or billions of rows,” and Fivetran says most initial database syncs “finish within a day,” a day spent scanning a production replica. A full load also cannot see between runs. dbt’s snapshot guidance says snapshots “cannot recover intermediate changes that were overwritten between runs.”
If the business needs fraud signals or inventory within seconds, Google’s list of real-time use cases is the brief and a nightly batch is the wrong tool. Those cases are real. They are also a minority of the tables in any warehouse.
What to do instead
Decide per table, not per database. Start every table on a scheduled full load, which Airbyte’s full refresh overwrite mode handles with deletes included, and move to a watermark only when the reload gets slow. Reserve log-based capture for deletes with history, sub-hour freshness, or a source that cannot absorb a scan, and budget the slot monitoring the logical replication guide describes.
The full load vs incremental vs CDC guide walks the three modes, and the write modes explainer covers what replace and upsert do on arrival.
Frequently asked questions
What is the difference between change data capture and batch ETL?
Batch ETL copies a table on a schedule, usually every few hours or once a night, so the destination lags by one interval at most. Change data capture reads the database’s transaction log and ships each insert, update, and delete as it commits. Batch is simpler and cheaper, capture is fresher.
When should you use change data capture instead of a full load?
Use it when a table is too large to rescan every run, when the business needs rows within minutes, or when deletes and intermediate states must be kept as history. A source that cannot absorb a nightly scan is the fourth reason. Everything else is cheaper as a scheduled full load.
Is batch loading free in BigQuery?
Yes. BigQuery’s pricing page says you are not charged for batch loading data from Cloud Storage or local files, because load jobs run on the shared default pipeline slot pool. Streaming through the Storage Write API costs $0.025 per GiB after the first 2 TiB each month.
Can a nightly full load capture deletes?
Yes, if the load replaces the destination table. Airbyte’s full refresh overwrite mode destroys the old table and pulls the new data, so rows removed at the source disappear at the destination. What it cannot do is keep the deleted row’s history or any change overwritten between runs.
What happens if a Postgres replication slot is not consumed?
The server keeps every WAL segment the slot still needs, with no ceiling by default because max_slot_wal_keep_size ships as -1. Disk fills, VACUUM cannot remove rows the slot might still want, and in extreme cases the manual says the database shuts down to prevent transaction ID wraparound. Drop slots nobody reads.
How often do Fivetran and Airbyte sync by default?
Fivetran syncs every six hours by default and sells 1 minute syncs only on its Enterprise and Business Critical plans. Airbyte lists every 24 hours as its most common schedule and caps Cloud Standard organizations at one sync an hour. Daily or hourly is the norm.
How does log-based change data capture work?
The database already writes every committed change to a log, the WAL in Postgres and the binary log in MySQL. A capture tool opens a replication slot or a binlog dump connection, decodes those records into row events, and forwards them. It needs wal_level logical or row format binlogs, plus retention.
What are the challenges of implementing change data capture?
Schema changes, because logical replication does not carry DDL and errors until the subscriber’s table matches. Duplicates, because slots and Debezium deliver at least once after a crash. Missing values, because unchanged TOAST columns arrive as placeholders. And infrastructure, because Debezium runs on Kafka Connect beside the broker.
