Change Data Capture (CDC): The Definitive Guide for Enterprise Data Teams

Change data capture (CDC) is the discipline of detecting every insert, update and delete that happens inside a source system, turning those changes into an ordered stream of events, and delivering them to downstream systems so that analytics, applications and AI models operate on current data rather than on last night’s snapshot. It is the mechanism that converts a transactional database — a system designed to be written to, not read from in bulk — into a continuous, low-latency feed of business activity.

Definition: Change data capture (CDC) is a set of software design patterns that identify and track the deltas — the changes — made to data in a source system, and propagate those deltas to one or more target systems in near real time, without re-reading the entire dataset.

For a CTO or data architect, the practical significance is narrower and more useful than the definition suggests. CDC is an architectural decision about where truth lives and how fast it travels. Every organisation running an ERP, a CRM, a core banking platform or a transactional web application already has a database that holds the authoritative version of its operational reality. The recurring problem is that this reality is invisible to everything else: the warehouse lags by hours, the search index is stale, the recommendation model trains on last week’s behaviour, and the migration project needs a maintenance window measured in days.

What Is Change Data Capture (CDC)?

At its core, CDC answers a deceptively simple question: what changed since the last time I looked? Traditional extraction answers a different question — what does the whole table look like right now? — and pays for the answer with a full scan of every row, every time. On a table with fifty million rows and a daily change rate of 0.3 percent, that means reading 49,850,000 rows to learn something about 150,000. CDC inverts the economics: it reads only the evidence of change, which the database has usually already written down for its own recovery purposes.

The delta-driven dataset

The output of a CDC process is what the literature calls a delta-driven dataset: a sequence of change records, each carrying an operation type (insert, update, delete), the affected row’s key, the before-and-after values where the source supports it, a commit timestamp, and a position in the source’s log. Consumed in order, these records let any target reconstruct the source’s state at any point in time — not just the current state, which is why CDC is so closely tied to auditability and historical analysis.

What CDC is not

Three clarifications prevent most architectural misunderstandings before they start:

  • CDC is not a database feature you switch on and forget. Some engines ship native CDC (SQL Server, Oracle, PostgreSQL via logical decoding), but a production pipeline still requires transport, schema handling, monitoring, replay and access control.
  • CDC is not replication. Physical replication copies storage blocks or log records to keep an identical standby. CDC decodes changes into a logical, consumable format that heterogeneous targets — a warehouse, a search engine, a cache, a message bus — can each apply in their own way.
  • CDC is not transformation. A CDC stream is a record of what happened, not a curated model. Cleaning, conforming, deduplicating and historising happen downstream, which is precisely the separation that makes CDC reusable across many consumers.

Where Did Change Data Capture Come From?

The term emerged from data warehousing practice in the late 1990s and early 2000s, when dimensional modelling made the refresh problem acute. Ralph Kimball’s warehouse methodology assumed periodic loads, and the industry’s first answer was the full extract — simple, auditable, and increasingly untenable as source systems grew. The first generation of CDC techniques was therefore entirely application-level: a LAST_UPDATE timestamp column, a version counter, or a status flag that marked a row as dirty. These techniques are still in use and still reasonable for small, low-velocity systems; they are also the origin of the misconception that CDC is a lightweight pattern.

The native feature era

The turning point was the realisation that databases already keep a complete, ordered, immutable record of every committed change — the transaction log. Oracle exposed it through LogMiner in the mid-1990s and later through GoldenGate, acquired in 2009. Microsoft shipped native CDC in SQL Server 2008, writing captured changes into system change tables with metadata such as operation type and commit LSN. IBM’s and DB2’s equivalents followed. Each vendor solved the problem inside its own engine, and the result was a fragmented toolscape in which every database required its own capture mechanism and its own operational runbook.

The log-decoding and streaming era

Two developments industrialised CDC. First, PostgreSQL’s logical decoding (from 9.4) and MySQL’s row-based binary log made open, well-documented change streams available on the most widely deployed open-source databases. Second, Debezium — open-sourced by Red Hat in 2016 and built on Kafka Connect — provided a single, connector-based abstraction that turned those streams into Kafka topics with a consistent envelope format. Since then, CDC has migrated from a warehouse-loading trick to a foundational primitive of event-driven architecture, and every major cloud vendor now sells it as a managed service: AWS Database Migration Service, Google Cloud Datastream, Azure SQL Database CDC feeding Fabric Eventstream, and comparable offerings from Snowflake and Databricks.

How Does Change Data Capture Work?

A CDC pipeline is a chain of five responsibilities: capture, serialise, transport, apply and govern. The sophistication of modern tooling hides the chain, but every failure mode an operations team will encounter lives in exactly one of those links — which is why understanding the mechanics matters more than memorising product names.

The transaction log as the source of truth

Before a database modifies a table, it writes the change to a write-ahead structure so that it can recover from a crash and roll back uncommitted work. That structure has a different name in every engine but the same semantics: PostgreSQL’s write-ahead log (WAL), MySQL’s binary log (binlog), Oracle’s redo log, SQL Server’s transaction log. CDC tools read this structure rather than querying the tables, which is why log-based capture adds almost no read load to production. The log is append-only and totally ordered, so the resulting stream preserves the exact commit order of the source — a property no polling mechanism can offer.

Reading the log is not trivial. Entries are stored in a physical format optimised for recovery, not for consumption, and many engines record only buffer differences rather than full row images. Decoding therefore requires engine-specific logic, handling of uncommitted transactions that were later rolled back, coordination with log archiving so that entries are not purged before they are read, and tolerance for physical format changes between minor versions.

Snapshot and catch-up

A log contains history, but rarely all of it — retention windows are finite, and replaying years of entries is impractical. The standard production pattern is therefore two-phase:

  1. Seed. Take a consistent snapshot of the source at a known point in time and bulk-load it into the target.
  2. Catch up. Start streaming changes from the exact log position recorded when the snapshot was taken, so that no change is lost in the gap between the two phases.

Getting this right is the single most common source of initial-load defects. If the snapshot is taken at 10:00 but the stream starts at 10:04, four minutes of writes vanish silently; if it starts at 09:56, rows are applied twice. Tooling that manages the snapshot and the stream offset as one atomic operation — rather than as two loosely coupled jobs — is worth paying for.

Positioning, log sequence numbers and recovery

Every CDC consumer must remember where it stopped. Engines expose this as a monotonic position: SQL Server’s log sequence number (LSN), MySQL’s binlog coordinates or GTID, PostgreSQL’s LSN together with a replication slot, Kafka’s partition offset once the stream is in a broker. This bookmark does three jobs: it lets a stream start at an arbitrary historical point, it lets a failed process restart from the last successfully applied change, and it lets a consumer rewind deliberately to backfill a new target. Combined with idempotent apply logic, the position is what makes “effectively exactly-once” achievable on top of an at-least-once transport.

The four components of a CDC pipeline

ComponentResponsibilityTypical technologyWhat goes wrong here
Source connectorReads and decodes the transaction log or change table; assigns schemaDebezium connectors, GoldenGate Extract, native CDC capture jobsInsufficient privileges, log retention shorter than outage window
Change event streamDurable, ordered, replayable transport from source to consumersApache Kafka, Amazon Kinesis, Google Pub/Sub, Azure Event HubsTopic compaction misconfiguration, unbounded growth, hot partitions
Schema registryVersioning and compatibility enforcement for evolving message schemasConfluent Schema Registry, Apicurio, AWS Glue Schema RegistryBreaking changes published without compatibility mode
Sink connector / consumerApplies changes to warehouses, lakehouses, search indexes, caches or servicesKafka Connect sinks, dbt + MERGE, native warehouse ingestionNon-idempotent writes, out-of-order apply, duplicate rows

What Are the Main Change Data Capture Methods?

There are five families of technique, and the choice between them is determined less by preference than by what the source engine exposes and how much load the source can tolerate. Most mature estates end up using more than one.

Log-based CDC

The connector reads the database’s transaction log asynchronously and decodes committed changes. Impact on the source is minimal because no query touches the data pages; ordering is exact because the log is sequential; deletes are captured natively because they appear as log records; and no schema change is required. The costs are real but bounded: the CDC user needs elevated privileges (replication rights, or in some engines sysadmin-equivalent log-reading permissions), the pipeline is tied to engine internals that vendor upgrades can alter, and the log must be retained long enough to survive the longest plausible outage.

Trigger-based CDC

Database triggers fire on insert, update and delete and write the affected row into a shadow or audit table, which the CDC process then drains. This works on any engine with trigger support, requires no log access, and can embed bespoke business logic — which is why it survives in regulated environments where a specific audit record shape is mandated. The price is paid on the write path: every DML statement becomes two or more writes plus trigger execution inside the same transaction, increasing commit latency and lock duration. Triggers also create tight coupling between application schema and capture mechanism, and are easy to disable accidentally during a migration.

Query-based (timestamp or version) CDC

A scheduled query selects rows whose last_updated timestamp or version number exceeds the previous high-water mark. Nothing is installed in the database, no special privileges are needed, and the technique is legible to any developer. It also fails in ways that are easy to miss: hard deletes leave no trace and are invisible; a clock skew or a transaction committed with an earlier timestamp than the watermark silently drops rows; and the query still scans an index range on every poll, so the load scales with change volume rather than staying flat.

Snapshot-diff CDC

Two full snapshots are compared to compute the difference. This is the technique of last resort: it is expensive in I/O and storage, and the compute cost grows with table size rather than change volume. It remains legitimate for sources that expose nothing better — a legacy system with no timestamps, no triggers and no log access — and for periodically reconciling a CDC pipeline against reality to catch drift.

Native change feeds and outbox patterns

Two hybrid approaches deserve separate mention. Some platforms expose a first-class change feed — DynamoDB Streams, Cosmos DB Change Feed, Salesforce Change Data Capture via Pub/Sub API, SAP’s ODP or SLT extractors — which behaves like log-based CDC but through a vendor API. Separately, the transactional outbox pattern writes domain events into an outbox table inside the same transaction as the business change, and a CDC connector then publishes the outbox. This gives application teams guaranteed consistency between state and event without dual writes, and it is the most reliable way to get events out of a monolith you are not yet ready to decompose.

MethodDetects changes viaImpact on sourceCaptures deletesCommit orderingBest fit
Log-basedTransaction log / WAL / binlog / redo logVery low (asynchronous read)YesExactHigh-volume OLTP, real-time pipelines, the default choice
Trigger-basedDatabase triggers writing to shadow tablesMedium–high (extra writes, locks)YesExact within transactionEngines without log access; mandated audit record formats
Query / timestamp-basedPolling on timestamp or version columnMedium (repeated range scans)No (hard deletes invisible)ApproximateSmall or legacy systems, low change velocity
Snapshot-diffComparing two full snapshotsVery high (full scans)Yes, by absenceNone (batch-level)Last-resort sources; periodic reconciliation of other pipelines
Native change feed / outboxVendor API or application-written outbox tableLow–mediumYes (via tombstone or delete event)ExactSaaS platforms, NoSQL stores, event-driven microservices

How Does CDC Compare to ETL, Replication and SCD?

Four terms are routinely conflated in architecture discussions, and the confusion is expensive because each answers a different question. CDC is a capture mechanism, ETL is a processing paradigm, replication is a copying guarantee, and slowly changing dimensions are a storage model.

CDC versus batch ETL

Batch ETL moves data on a schedule: extract everything, transform it in a staging area, load it, repeat tomorrow. It is predictable, easy to reason about, and excellent for large historical backfills and heavy transformations. Its weaknesses are latency, load shape and redundant work. CDC moves only deltas continuously, so load is spread evenly instead of spiking at 02:00, and the target’s freshness is measured in seconds rather than hours. The two are complementary rather than competing: a typical modern architecture seeds with a bulk extract, then keeps the target current with CDC, and runs periodic batch reconciliations as a control.

CDC versus replication

Replication answers “keep this database identical to that one.” It is usually physical or engine-native, it preserves the whole database rather than a selected set of tables, and it offers no logical event format for other consumers. CDC answers “tell me what changed, in a form I can use,” which means selective table capture, decoded row images, a portable event envelope, and fan-out to many heterogeneous consumers. A read replica solves read scaling; it does not solve feeds into a warehouse, a search index, a cache and three microservices.

CDC versus SCD

This distinction trips up more delivery teams than any other. CDC operates on the source side and is responsible for transporting change efficiently. Slowly changing dimensions operate on the target side and decide how history is represented once the change arrives. SCD Type 1 overwrites the existing record — appropriate for correcting a misspelled name. SCD Type 2 closes the current version with an end timestamp and opens a new one, preserving a queryable timeline — appropriate for tracking a customer’s address, a product’s price or a contract’s terms. CDC supplies the events; the SCD strategy decides what the warehouse does with them. A pipeline can be technically flawless at the CDC layer and still fail an audit because nobody chose an SCD strategy for the dimensions it feeds.

DimensionChange data captureBatch ETLReplicationSCD modelling
Primary question answeredWhat changed, and how do I deliver it?How do I reshape the whole dataset?How do I keep an identical copy?How do I store history in the target?
LayerSource / ingestionIngestion and transformationStorage / engineTarget / data model
LatencySecondsHours (scheduled)SecondsNot applicable
Load profileContinuous, flatPeriodic spikesContinuousNot applicable
Target flexibilityAny consumable targetModelled warehouseSame engine, same schemaWarehouse / lakehouse
Typical ownerData engineering / platformData engineeringDBA / infrastructureAnalytics engineering

Why Does Change Data Capture Matter for the Business?

The business case for CDC is rarely “we want streaming.” It is usually one of four pressures, and being explicit about which one applies determines whether the programme succeeds.

Latency becomes a business variable

In fraud detection, inventory allocation, dynamic pricing or logistics routing, the value of a data point decays within seconds. A nightly warehouse load cannot support those decisions at all; a five-minute micro-batch can support some of them; CDC supports the rest. The relevant metric is not average latency but the tail — the 99th percentile freshness of the target, because that is what a decision-maker experiences during a peak.

Cost and load displacement

Full refreshes consume source I/O, network bandwidth and target compute in proportion to table size, not to change volume. On a large estate, moving to incremental capture typically removes the majority of extraction load and a meaningful share of warehouse credits. The saving is real but must be netted against the new pipeline’s own infrastructure, licensing and operations cost — a comparison many business cases quietly omit.

Auditability and regulatory traceability

An ordered, replayable record of every change is exactly what auditors and regulators ask for. Under GDPR, being able to demonstrate who accessed or modified personal data, and when, is materially easier when change history is a by-product of the pipeline rather than a separately engineered feature. The same property underpins financial reporting controls and the integrity requirements of regulated industries.

Decoupling and organisational velocity

Without CDC, every new consumer of operational data requires either a bespoke integration or direct read access to the production database — both of which couple teams together and slow delivery. With CDC, the database publishes once and consumers subscribe independently: a new analytics product, a new search experience or a new AI feature can be added without touching the source application or negotiating with its owning team. That decoupling is often worth more than the latency improvement, because it changes the cost of every future initiative.

What Are the Most Common CDC Use Cases?

CDC earns its place through a small number of patterns that recur across industries. Recognising which pattern you are implementing determines the tooling, the SLA and the failure model.

Use casePatternTypical latency targetCritical design decision
Real-time analytics and dashboardsSource database → stream → warehouse or lakehouse10 s – 2 minMerge strategy in the target; micro-batch versus continuous
Zero-downtime database migrationSnapshot → CDC catch-up → controlled cutoverSeconds during cutover windowReconciliation and rollback plan before the switch
Database-per-service decompositionOutbox table + CDC connector → event busSub-secondEvent schema ownership and versioning discipline
Search index and cache synchronisationSource database → CDC → Elasticsearch / Redis1 – 30 sDelete handling and full-rebuild capability
AI/ML feature pipelinesSource database → CDC → feature storeMinutesPoint-in-time correctness to prevent training leakage
Cross-system operational consistencyERP/CRM → CDC → downstream operational systemsSeconds – minutesMaster data ownership and conflict resolution rules
Audit trail and compliance evidenceCDC → immutable append-only storeNear real timeRetention policy, PII minimisation, access controls

Real-time analytics without rebuilding the application

The most common entry point is a warehouse or lakehouse that needs to be current. A retail platform captures order and inventory changes from its transactional database and merges them into a lakehouse table every thirty seconds; the merchandising dashboard stops reporting yesterday’s stock position. The application team changes nothing.

Zero-downtime migration

Migrations fail on the cutover, not on the copy. CDC changes the risk profile: seed the new platform, stream changes continuously, run both systems in parallel while reconciling row counts and checksums, then switch writes during a short controlled window with a rollback path that remains valid until confidence is established. For a core banking or ERP migration, this is the difference between a weekend outage and a planned fifteen-minute switch.

Event-driven microservices and the outbox pattern

When a monolith must publish domain events without rewriting its transaction boundaries, writing to an outbox table inside the business transaction and capturing that table with CDC gives atomicity for free: either the business change and the event both commit, or neither does. It eliminates the dual-write problem that otherwise produces orphaned events and inconsistent state.

Search, cache and personalisation sync

Elasticsearch indexes and Redis caches go stale the moment someone edits a record. CDC-driven invalidation replaces fragile TTL guesses with event-driven updates, and — critically — gives a reliable delete path, which polling-based sync almost never has.

AI and machine learning feature pipelines

Models are only as good as the freshness and correctness of their features. CDC feeds feature stores with current operational data and, when the stream retains history, supports point-in-time feature retrieval so that training data reflects what was known at prediction time rather than what is known now. That distinction is the difference between a model that generalises and one that quietly memorises the future.

If your organisation is weighing which of these patterns applies to its own estate — or comparing a build-it-yourself Debezium pipeline against a managed service — the Greyson data capability team can help you assess the trade-offs against your existing architecture, team skills and compliance requirements.

What Are the Hardest CDC Challenges?

The first pipeline is easy. The second year is hard. Almost every difficulty in production traces back to one of six issues, and each has a known mitigation that is far cheaper to adopt upfront.

ChallengeWhat it looks like in productionMitigation
Schema driftA source column is renamed or its type widened; the pipeline breaks or silently writes nullsSchema registry with backward-compatibility rules, automated DDL detection, contract tests in CI
Ordering and duplicatesTwo updates to the same key arrive out of order, or a retry produces a duplicate rowSequence by commit LSN or timestamp; idempotent MERGE on primary key; deduplicate by latest sequence
Delete handlingHard deletes vanish from the target, which then reports phantom revenuePrefer log-based capture; explicit tombstone events; soft-delete convention with scheduled purge
Log retention and outagesA pipeline is down longer than the source keeps its log; changes are unrecoverableAlert on offset lag; size retention against realistic outage duration; fall back to a targeted re-snapshot
Security and PII exposureA raw change stream replicates personal data into several systems with different access modelsColumn-level masking at capture, field-level encryption, purpose-based access control, GDPR data mapping
Total cost of ownershipLicence, compute, storage and specialist headcount exceed the batch jobs CDC replacedBuild-vs-buy analysis including operations; scope capture to tables that actually need it; monitor unit economics

Schema drift is a governance problem, not a tooling problem

Tools detect schema changes; they cannot decide whether a renamed column is a breaking change or a harmless evolution. That decision needs an owner. The workable pattern is a contract between producer and consumers: a registry enforcing backward compatibility, a CI check that fails a migration which would break a published schema, and a documented deprecation window. Teams that skip this step discover the cost months later, when a routine application release silently breaks four downstream consumers.

Ordering, duplicates and “effectively exactly-once”

Distributed transports generally guarantee at-least-once delivery, which means duplicates are normal and must be made harmless. Two mechanisms do the work: deterministic sequencing (using the source commit position, never the arrival time at the consumer), and idempotent application of changes (a MERGE keyed on primary key that overwrites with the record carrying the highest sequence). Combined, they yield exactly-once effects on the target without requiring exactly-once delivery. Chasing true exactly-once transport usually costs more than it saves.

Deletes, tombstones and the silent data quality failure

Polling-based capture cannot see hard deletes, so the target accumulates records the source has already discarded. The symptom is insidious: dashboards report active customers who churned months ago, and reconciliation finds a discrepancy that nobody can date. Log-based capture sees the delete record natively; for other sources, an explicit soft-delete convention with a purge job is the pragmatic answer, provided every consumer understands the convention.

Security, PII and the expanding blast radius

A change stream is a copy of your operational data moving across systems, and it multiplies exposure surfaces. In a GDPR context this is not only a technical concern but a documentation obligation: the data flow must be mapped, the legal basis for each destination established, and field-level controls applied at capture rather than left to each consumer. Column filtering, masking and tokenisation at the source connector are far cheaper than retrofitting governance onto eight downstream systems.

Total cost of ownership

CDC shifts cost rather than eliminating it. The capture infrastructure, stream retention, schema registry, monitoring and the specialist skills to run all of it are permanent line items. A programme that migrates forty tables to CDC when only six are genuinely latency-sensitive will have spent money to add operational risk. Scope deliberately.

Which CDC Tools and Platforms Are Used in Practice?

The market divides into four layers: open-source engines, commercial platforms, managed cloud services, and the warehouse-side ingestion features that increasingly absorb the sink responsibility. Most enterprises combine at least two layers.

LayerRepresentative optionsStrengthsTrade-offs
Open-source engineDebezium, Kafka Connect, Apache Flink CDCNo licence cost, wide connector coverage, transparent behaviourYou operate it; upgrades, monitoring and on-call are yours
Commercial platformOracle GoldenGate, Qlik Replicate, Fivetran, Airbyte Enterprise, StriimHeterogeneous coverage from a single control plane, vendor support, GUI operationsLicensing often scales with data volume; connector quality varies
Managed cloud serviceAWS DMS, Google Cloud Datastream, Azure SQL Database CDC / Fabric EventstreamLow operational overhead, native integration with the surrounding platformEcosystem gravity; cross-cloud and on-prem sources can be second-class
Warehouse-side ingestionSnowpipe Streaming, BigQuery Storage Write API, Databricks AUTO CDC, Delta Live TablesSimplifies the sink; declarative merge and sequencingVendor lock-in at the modelling layer

Build versus buy, honestly assessed

A Debezium-and-Kafka pipeline is genuinely production-grade and genuinely cheap on licence. What it is not is free: someone must own connector upgrades, offset management, schema registry operation, broker capacity planning, alerting and incident response. The buy decision is usually justified not by feature gaps but by the cost of a specialist team — which is precisely the constraint most mid-sized enterprises face. The worst outcome is a hybrid nobody owns: a managed service configured by a contractor, monitored by nobody, feeding a warehouse whose freshness nobody measures.

What Do IT Leaders Commonly Get Wrong About CDC?

Several beliefs are widespread enough to distort budgets before a single connector is configured.

“CDC is just a faster ETL job”

CDC changes the operating model, not only the schedule. A batch job fails and is rerun; a streaming pipeline degrades continuously and must be observed continuously. Freshness SLAs, lag alerting, replay procedures and ownership are new responsibilities that batch organisations do not already have in place.

“Turning on native CDC solves the problem”

Native features (SQL Server CDC, Oracle CDC, PostgreSQL logical decoding) solve capture. They do not solve transport, schema governance, target merge logic, deletes across heterogeneous consumers, monitoring or replay. Capture is roughly a third of the engineering.

“Log-based CDC has no impact on production”

It has minimal read impact, which is not the same as none. Log retention grows, replication slots on PostgreSQL can pin WAL and fill a disk if a consumer stalls, and long-running decode sessions compete for resources. Capacity planning is still required — the failure mode is just different.

“We can add governance later”

Retrofitting column-level masking onto a stream that already feeds eight systems is a cross-team remediation project. Doing it at the source connector takes an afternoon. The same asymmetry applies to schema contracts and retention policies.

“More real-time is always better”

Streaming adds cost, complexity and failure surface. A weekly finance report does not need sub-second freshness; a batch job that runs reliably at 03:00 may be the correct engineering answer. CDC should be applied where latency has measurable business value, and declined where it does not.

What Does the Future of CDC Look Like?

Three shifts are already visible and will shape architecture decisions over the next several years.

CDC as a platform primitive, not a project

Leading organisations are consolidating dozens of point-to-point integrations into a single governed change-data platform with self-service onboarding, standard event envelopes, central schema registry and per-domain ownership. The unit of delivery stops being “the pipeline” and becomes “the contract.”

Declarative sinks and open table formats

Lakehouse engines increasingly handle sequencing, deduplication and merge declaratively, and open table formats such as Delta Lake and Apache Iceberg provide ACID semantics and time travel over the same physical data. The practical consequence is that CDC’s complexity is migrating from hand-written merge logic into the platform — which raises the bar for the remaining work: governance, semantics and data contracts.

CDC as the feed layer for AI

Feature stores, retrieval-augmented systems and agentic applications all depend on current operational data. CDC is becoming the standard mechanism that keeps those systems supplied, and point-in-time correctness — the ability to reconstruct what the business knew at a specific moment — is becoming a first-class requirement rather than an analytics nicety. Expect more emphasis on lineage, quality signals carried alongside change events, and streaming data contracts that specify semantics, not just structure.

What Else Do IT Leaders Ask About Change Data Capture?

What is change data capture in simple terms?

Change data capture is a way of watching a database and recording only what changes — new records, edits and deletions — so other systems can be updated immediately instead of reloading entire tables on a schedule.

How does change data capture work?

A CDC tool reads the database’s internal transaction log, or an equivalent change mechanism, decodes each committed change into an ordered event, sends it through a stream or messaging layer, and applies it to target systems. Log-based capture is the most common and least intrusive method.

What are the three main types of CDC?

Log-based CDC reads the transaction log; trigger-based CDC uses database triggers to write changes into shadow tables; query-based or timestamp-based CDC polls tables for rows modified after a stored watermark. Snapshot-diff and native change-feed approaches are further variants.

What is the difference between CDC and ETL?

ETL extracts and processes data in scheduled batches, so the target is only as fresh as the last run. CDC extracts only the changes continuously, so the target stays current with seconds of latency. The two are complementary: CDC for ongoing synchronisation, batch for backfills and heavy transformations.

Does CDC capture deletions?

Log-based and trigger-based CDC do, because deletes appear as log records or trigger events. Query-based timestamp CDC generally does not, which is why targets fed by polling frequently contain records the source has already removed.

Is CDC real-time or near real-time?

Near real-time is the accurate description. Latency typically ranges from well under a second to a few minutes depending on connector throughput, batching in the target, and how the sink applies changes. True hard real-time guarantees are rare and expensive.

When should you not use CDC?

Avoid CDC when data changes infrequently enough that a periodic full load is cheap, when the source exposes no reliable change mechanism, when the latency requirement is measured in hours, or when the team cannot commit to operating and monitoring a streaming pipeline. In those cases a well-run batch job is the better engineering decision.