# An introduction to DBLog: How it enables incremental snapshots and sink repairs

Canonical URL: https://aandreakis.com/dblog
Markdown URL: https://aandreakis.com/dblog.md
Author: Andreas Andreakis (https://orcid.org/0009-0003-9025-9402)

DBLog is a log-based Change-Data-Capture (CDC) design that captures both the live changes and the existing rows of database tables. It never blocks writes at the source and keeps change events flowing while it reads the table. It also allows sinks to be repaired in-place and surgically if they drift, without needing to populate sinks from scratch. Incremental snapshots, as implemented by Debezium and Apache Flink CDC, are based on DBLog.

Introduced at Netflix [in 2019](https://netflixtechblog.com/dblog-a-generic-change-data-capture-framework-69351fb9099b) and published as a [paper in 2020](https://arxiv.org/abs/2010.12597).

## About this guide

This guide introduces DBLog to software engineers. It starts with what Change-Data-Capture is and why log tailing alone falls short, then walks through how DBLog works. Basic familiarity with SQL and primary keys is enough, with no CDC background needed.

## Change-Data-Capture from the transaction log

Many systems keep a copy of a database table somewhere else: in a search index, a cache or a warehouse. In this guide the original table is the **source** and each copy is a **sink**.

To stay up to date, a sink has to receive every change made at the source. Most relational databases, such as MySQL and PostgreSQL, already record every change. Each committed change goes into the **transaction log** (the binlog in MySQL, the write-ahead log in PostgreSQL) and can be read back in commit order. All tables of a database share that one log. Some other datastores keep a similar log, for example the oplog of MongoDB.

**Change-Data-Capture** means tailing that log from the outside. A **connector** reads it and emits a **change event** for each row changed by a committed `INSERT`, `UPDATE` or `DELETE`. The event carries the row's key and its full new state and goes onto a **stream** such as a Kafka topic. A sink that mirrors the table applies each event as an upsert or a delete by primary key. Because events carry the full row and each key's events arrive in commit order, the sink follows the source change by change.

The application only writes to the source and not the sinks. This is pure CDC. For event-driven services and audit logs it is all that is needed.

### How log-based CDC works

1. The database writes each committed change to its transaction log.
2. The connector tails the log and emits one change event per changed row.
3. The sink applies each key's events in stream order.

*Figure (Pure CDC):* Each committed write lands in the transaction log. The connector tails the log and emits a change event and the sink applies it.

Step by step:
1. Source and sink hold the same orders.
2. An application inserts order 5. The database writes the change to its transaction log.
3. The connector reads INSERT 5 from the log and emits a change event.
4. The sink applies it. Order 5 exists in both.
5. UPDATE 2 commits and lands in the log.
6. It takes the same path and the sink updates order 2.
7. DELETE 3 commits.
8. The sink deletes order 3.
9. Change by change, in log order, the sink tracks the source.

## The transaction log is not enough

Use cases often want more than a stream of changes. They want the sink to be a second copy of the source table that is kept up-to-date, so that a search index or a cache holds every row the table holds. Log tailing alone gets there only if the sink has followed the log from the first write and never lost an event. Neither holds for long in production. Databases retain the transaction log only for a limited time or size, so it is usually not a full history. That leaves two common situations log tailing cannot handle.

The first is a new sink. Add a search index to an existing table. Most of its rows were written long before the oldest retained log entry.

The second is a drifted sink, one that has lost events or holds wrong values. Drift can creep in at every stage of a pipeline. At the source, a connector can fall behind while MySQL purges binlog files it still needs. In PostgreSQL, a replication slot can be dropped or lost in a failover to a replica. In the connector or a stream processor, a type conversion bug can write wrong values. A filter change or a dead-lettered batch can drop events before they reach the sink. In Kafka, retention can expire events before a slow consumer has read them. At the sink, writes can fail halfway or be applied out of order. Each of these leaves rows missing, stale or corrupted.

*Figure (Log retention limit):* The log only reaches back so far. A new, empty sink receives the recent changes to orders 6 and 2. Orders 1, 3 and 5 were written before the oldest retained log entry and never arrive.

Step by step:
1. These orders were written over a long time and the log retains only the last three changes.
2. The database purges the oldest part of its log. The entry INSERT 5 is gone, while order 5 itself is still in the table.
3. A new, empty sink starts tailing the log.
4. INSERT 6, the oldest retained entry, reaches the sink.
5. UPDATE 2 arrives and the sink stores order 2.
6. Orders 1, 3 and 5 were written before the oldest retained entry, so they never arrive.

Both cases require reading the table's current state directly, not just streaming future changes. Reading it is called capturing the **state** of the source, or less formally a backfill.

## Snapshots before DBLog

A table can be read with a `SELECT`, so the natural fix is to copy it and let the log take over afterwards. The catch is that a copy takes time and the source keeps changing underneath it, so every approach has to decide what happens to the changes that arrive in the meantime. Before DBLog, these were the most common options:

- **a. Consistent snapshot first, then log.** The connector reads the table in a consistent snapshot tied to a single position in the log, then tails every change after that position once the copy is done. This is how one-time initial snapshots at connector startup work. Tying the copy to that position can require blocking writes. Depending on the database the lock is brief or lasts the whole copy. In some cases, like PostgreSQL, no locking is needed.
- **b. Remember the position, then copy.** The connector pauses log tailing, remembers the log position, copies the table and resumes from that position. It replays changes the copy already contains, so a sink row can travel back in time, for example an order turning from shipped back to paid, until the replay catches up.

Whether or not they block writes, both stall the log. The copy has to reach the sink in full before any log event is allowed to flow, so live changes wait for the length of the copy. The larger the table, the longer the stall.

*Figure (Paused log):* Live changes wait while the copy reaches the sink. `UPDATE 2`, `INSERT 4` and `UPDATE 5` are delivered only after the last copied row.

Step by step:
1. A new, empty sink needs the rows that already exist at the source.
2. Log processing pauses. Writes at the source keep running.
3. A single SELECT copies the whole table.
4. UPDATE 2 commits, lands in the log and waits there.
5. The copied rows are emitted on the stream.
6. The sink applies row 1.
7. INSERT 4 commits and waits behind it.
8. The sink applies row 2.
9. The sink applies row 3.
10. UPDATE 5 joins the queue. The larger the table, the longer the wait.
11. The last copied row reaches the sink.
12. Only now does log processing resume.
13. The waiting changes are delivered, starting with UPDATE 2.
14. INSERT 4 follows.
15. UPDATE 5 arrives last. The sink is consistent, but live changes stalled for the entire scan.

The second option has another flaw while it catches up: if a row changed more than once during the copy, replaying from the remembered position overwrites the newer copied value with an older log event.

*Figure (Option b, remember the position and copy):* Option b, remember the position and copy. The copy already holds the newest value of order 2. Replaying from the remembered position sets it back to `paid` before the second `UPDATE 2` brings it forward again.

Step by step:
1. A new, empty sink. The connector is tailing the log.
2. The connector pauses log tailing and remembers the current log position.
3. UPDATE 2 commits after that position. Order 2 is now paid.
4. UPDATE 2 commits again. Order 2 is now shipped.
5. A single SELECT copies the table and reads order 2 as shipped.
6. The copied rows are emitted on the stream.
7. The sink applies row 1.
8. The sink applies row 2 with the newest value, shipped.
9. The sink applies row 3.
10. The connector resumes from the remembered position and replays changes the copy already contains.
11. Replaying the first UPDATE 2 sets order 2 back from shipped to paid. The sink has traveled back in time.
12. The second UPDATE 2 brings order 2 forward to shipped again.
13. Only now is the sink back in sync with the source.

At Netflix, neither blocking writes nor stalling real-time CDC was acceptable. We needed a way to backfill a table, or repair specific keys, online.

## DBLog: incremental snapshots via watermarks

DBLog reads the table in **chunks** and interleaves them with the live changes on the same stream. A chunk is the next few rows in primary key order, fetched with a single `SELECT`. Debezium later gave this approach the name **incremental snapshots**.

Chunking alone is not enough once chunks stream alongside live changes without pausing the log. If a row is updated right after a chunk `SELECT` reads its old value, the newer change event can reach the sink first and the slower chunk row can arrive after it, permanently overwriting the newer state (a stale overwrite) or resurrecting a deleted row. The key idea is to make the position of each chunk read visible in the transaction log. Just before the `SELECT`, the connector writes a marker, the **low watermark** (`LOW`), into a dedicated single-row watermark table at the source, updating that row in place. Just after it, the connector writes the **high watermark** (`HIGH`). Since all tables share one log, both writes show up in it in order with the changes to `orders`. As the connector tails the log, `LOW` marks where the chunk read began and `HIGH` marks where it ended. Everything between those two markers is the **watermark window**.

Inside the window, the log wins. If change events touch a key that is also in the buffered chunk, the last of them is at least as new as the copied row, so the copy is dropped. A row that nothing touched still has, at `HIGH`, the value the `SELECT` read, so it is emitted right there.

### How the DBLog watermark window works

1. The connector writes `LOW` into the watermark table.
2. It runs the chunk `SELECT` and buffers the **chunk rows** in memory.
3. It writes `HIGH`.
4. Tailing the log from `LOW` to `HIGH`, it passes every change event on as usual and drops any buffered row whose key an event touches.
5. At `HIGH` it emits the surviving chunk rows.

Application writes are never blocked and log processing pauses only for as long as it takes to write `LOW`, run one chunk `SELECT` and write `HIGH`. The requirements are modest: a primary key to page through the table, full row images in the log, write access to the watermark table and a sink that applies each key's events as upserts and deletes in stream order. The chunk `SELECT` also has to run as a consistent snapshot that sees every change logged before `LOW` and nothing logged after `HIGH`. The papers below spell that condition out per database.

*Figure (One watermarked chunk):* One chunk backfills an empty sink. Order 5 is updated before `HIGH` is written, so `UPDATE 5` passes through and the buffered row 5 is dropped. At `HIGH` the surviving rows 1, 2, 3 and 6 are emitted.

Step by step:
1. A new, empty sink. The rows already in the source are not in the log.
2. The connector writes LOW into the watermark table. The write lands in the log.
3. It runs the chunk SELECT and buffers the returned rows 1, 2, 3, 5 and 6 in memory.
4. Before HIGH is written, order 5 is updated at the source. Writes are not blocked.
5. The connector writes HIGH. LOW and HIGH now bracket the chunk in the log.
6. Reading the log, the connector sees LOW. The watermark window opens.
7. UPDATE 5 passes through and the buffered row 5 is dropped because the log event is at least as new.
8. The sink applies UPDATE 5.
9. At HIGH the window closes. The surviving rows 1, 2, 3 and 6 are emitted.
10. The sink applies row 1.
11. The sink applies row 2.
12. The sink applies row 3.
13. The sink applies row 6 and is now in sync with the source.

### Chunk after chunk: a whole table

The connector repeats the routine with the next rows in key order until it reaches the maximum key taken when the pass started, or until a `SELECT` returns fewer rows than the chunk size. Live changes keep flowing between chunks and inside their windows. Because progress is just the last key read, a long backfill can be paused and resumed instead of starting over.

*Figure (Chunk after chunk):* Two keys per chunk. `UPDATE 6` passes through between chunks and `UPDATE 3` lands inside the second window, so row 3 comes from the log. The sink ends in sync with the source.

Step by step:
1. A new, empty sink again. This time each chunk holds the next two keys.
2. For chunk 1, the connector writes LOW.
3. The SELECT returns orders 1 and 2.
4. It writes HIGH.
5. Tailing the log, it reaches LOW and the window opens.
6. It reaches HIGH. Nothing touched keys 1 or 2, so both rows are emitted.
7. The sink applies row 1.
8. The sink applies row 2.
9. Between chunks, UPDATE 6 commits.
10. It passes straight through to the sink.
11. For chunk 2, the connector writes LOW.
12. The SELECT for the next two keys after 2 returns orders 3 and 5.
13. UPDATE 3 commits before HIGH.
14. The connector writes HIGH.
15. LOW opens the window.
16. UPDATE 3 passes through and the buffered row 3 is dropped.
17. The sink applies UPDATE 3.
18. At HIGH, row 5 is emitted.
19. The sink applies row 5.
20. For chunk 3, the connector writes LOW.
21. The SELECT returns only order 6, fewer rows than a full chunk, so this is the last chunk.
22. The connector writes HIGH.
23. In the log, LOW opens the window.
24. At HIGH, row 6 is emitted.
25. Three chunks covered the table while live changes kept flowing. The sink is in sync with the source.

### Repairing a sink in place

Everything so far filled an empty sink. Pointed at a sink that already holds data, the same mechanism is a repair tool: each chunk emits the current state of every row it finds, so missing rows are restored and stale or corrupted values are overwritten. A pass can cover a whole table or only specific keys, on demand, while live changes keep streaming.

DBLog is not always the fastest way to fill an empty sink. When bootstrap speed comes first, a classic initial snapshot can be quicker. The two combine well: bootstrap with an initial snapshot, then use DBLog for surgical repairs after an incident and for periodic repairs that catch silent drift.

To inspect this watermark algorithm in executable Java, see [dblog-impl](https://aandreakis.com/dblog-impl.md) ([source on GitHub](https://github.com/aandreakis/dblog-impl)).

## Handling orphan rows

A sink can diverge from the source in three ways: missing rows, stale or corrupted values and orphan rows whose keys no longer exist at the source. Chunk reads fix the first two but leave orphans behind.

An **orphan row** appears when a `DELETE` is lost in a log gap, when the source is restored from a backup or when a script writes into the sink directly. A chunk `SELECT` returns only rows that exist. For a key that is gone it returns nothing, so no event is ever emitted for the orphan and it stays in the sink.

*Figure (Repair under the original design):* A repair pass with the original design. The sink holds a stale order 2, lacks order 3 and still has order 4, which was deleted at the source. The chunk fixes 2 and restores 3. Order 4 stays.

Step by step:
1. The sink has drifted: order 2 is stale, order 3 is missing and order 4 is an orphan.
2. A repair pass starts. The connector writes LOW.
3. The chunk SELECT returns rows 1, 2, 3, 5 and 6. Nothing comes back for key 4.
4. Order 5 is updated before HIGH is written.
5. The connector writes HIGH.
6. LOW opens the watermark window.
7. UPDATE 5 passes through and the buffered row 5 is dropped.
8. The sink applies UPDATE 5.
9. At HIGH the surviving rows 1, 2, 3 and 6 are emitted.
10. Row 1 already matches.
11. Row 2 fixes order 2.
12. Row 3 restores order 3.
13. Row 6 already matches.
14. Order 4 is still in the sink. The SELECT never returned it, so nothing was emitted for it.

The tempting fix is an out-of-band delete: a cleanup script diffs source and sink and deletes the extras from the sink directly. On a live table that is a race. If order 4 is re-created right after the script checked, the script's delete can reach the sink after the new `INSERT` and remove a live row, because the delete has no position in the stream.

In a [2026 paper](https://arxiv.org/abs/2611.10810) and [blog post](https://aandreakis.com/posts/evolving-from-pure-cdc-to-full-data-synchronization-with-dblog-based-incremental-snapshots.md), I showed how to handle orphan rows by extending DBLog, without adding a new coordination protocol. At `HIGH` the connector already knows more than which rows exist: its `SELECT` covered the chunk's whole key range and it saw every change in the window. Any key in that range that was neither returned by the `SELECT` nor touched in the window does not exist at the source.

The extension emits that absence at `HIGH` on the same stream. The sink then deletes the orphan. The paper describes two ways to encode it for different pipelines: one record for the whole chunk range or one absence event per key.

### How orphan-row detection works at HIGH

1. The chunk runs as before: `LOW`, `SELECT`, `HIGH`, then the window is read from the log.
2. At `HIGH` the connector emits absence for any missing keys alongside the surviving chunk rows.
3. The sink deletes those keys and applies the rows.

*Figure (Repair with the orphan-row extension):* The same repair with the extension. Key 4 is in the range but neither selected nor changed, so `ABSENT 4` is emitted at `HIGH` and the orphan is deleted. When order 4 is re-created, its `INSERT` follows the absence and the new row stays.

Step by step:
1. The same drifted sink: order 2 is stale, order 3 is missing and order 4 is an orphan.
2. The connector writes LOW.
3. The chunk SELECT returns rows 1, 2, 3, 5 and 6. Nothing comes back for key 4.
4. Order 5 is updated before HIGH is written.
5. The connector writes HIGH.
6. LOW opens the watermark window.
7. UPDATE 5 passes through and the buffered row 5 is dropped. Key 5 counts as changed.
8. The sink applies UPDATE 5.
9. At HIGH, key 4 was neither selected nor changed, so ABSENT 4 is emitted first, then rows 1, 2, 3 and 6.
10. ABSENT 4 deletes the orphan.
11. Row 1 already matches.
12. Row 2 fixes order 2.
13. Row 3 restores order 3.
14. Row 6 matches and the sink is back in sync with the source.
15. Later, order 4 is created again at the source.
16. Its INSERT comes after the absence in the stream.
17. The sink applies INSERT 4 and the new row survives.

Because the delete has a position in the stream, it stays correct when a key comes back: if order 4 is re-created later, its `INSERT` follows the absence and the new row survives. With this in place, a single pass restores missing rows, overwrites stale values and removes orphans. This extension is currently a specification and has not yet been implemented in a production connector or in [dblog-impl](https://aandreakis.com/dblog-impl.md).

## Everything in one picture

Each stage builds on the same stream by adding one more record type: change events, then chunk rows and finally key absence. The animation below runs all three together on one pipeline.

Phases:
1. Change events flow
2. A chunk is read between LOW and HIGH
3. At HIGH the sink is repaired

*Figure (Full pipeline recap):* Change events flow until a log gap loses two of them. A chunk read between `LOW` and `HIGH` fixes order 2 and restores order 3. `ABSENT 4` at `HIGH` then removes the orphan.

Step by step:
1. The sink mirrors the source, except order 3 never reached it.
2. INSERT 6 commits and lands in the transaction log.
3. The connector streams it and the sink applies it.
4. UPDATE 2 and DELETE 4 commit.
5. A log gap loses both before they are read. The sink has drifted.
6. The connector writes LOW into a watermark table at the source.
7. A chunk SELECT reads the rows into memory.
8. Meanwhile UPDATE 5 commits at the source.
9. The connector writes HIGH.
10. Tailing the log, the connector sees LOW and opens the watermark window.
11. UPDATE 5 passes through. The buffered row 5 is dropped.
12. The sink applies UPDATE 5.
13. At HIGH, key 4 was neither selected nor changed, so ABSENT 4 is emitted first. Rows 1, 2, 3 and 6 follow.
14. ABSENT 4 deletes the orphan.
15. Row 1 already matches.
16. Row 2 fixes order 2.
17. Row 3 restores order 3.
18. Row 6 already matches.
19. The sink is back in sync with the source.

## Key terms

- **Source**: The database table that holds the original data.
- **Sink**: A downstream copy of the source: a search index, a cache, a replica or a warehouse.
- **Transaction log**: The database's own record of its changes, retained for a limited time or size. Committed changes can be read from it in commit order (MySQL binlog, PostgreSQL WAL).
- **CDC**: Change-Data-Capture, also written Change Data Capture: streaming a database's committed changes to other systems.
- **Change event**: One changed row (`INSERT`, `UPDATE` or `DELETE`) read from the log and emitted on the stream.
- **Connector**: The component that tails the log, reads the chunks and emits events on the stream.
- **Chunk**: The next few rows of a table in primary key order, read with one `SELECT`.
- **Watermark**: A marker write to the watermark table (the signaling table in Debezium) that shows up in the log: `LOW` before a chunk read, `HIGH` after.
- **Watermark window**: The stretch of the log between `LOW` and `HIGH`, where a change event wins over a buffered chunk row.
- **Incremental snapshot**: Debezium's name for capturing a table in chunks while change events keep streaming. Flink CDC uses the same term for its parallel, lock-free chunked snapshots.
- **Backfill**: Loading the rows that already exist in a table into a sink.
- **Orphan row**: A row in the sink whose key no longer exists at the source.
- **Chunk info record (proposed)**: One record at `HIGH` with the chunk's range, selected keys and changed keys. The sink deletes every other key it holds in that range.
- **Absence event (proposed)**: A per-key event at `HIGH` saying that a key the connector checked does not exist at the source. The sink applies it as a delete.

## Frequently asked questions

### How are Debezium and Apache Flink CDC incremental snapshots related to DBLog?

Debezium's incremental snapshots follow the DBLog paper. Flink CDC's incremental snapshot reading is inspired by it and adds parallel chunk reads. Both projects also implement read-only variants that write nothing to the source and take the watermarks from log positions the database already exposes, such as GTID sets in [Debezium's read-only incremental snapshots for MySQL](https://debezium.io/blog/2022/04/07/read-only-incremental-snapshots/) and binlog offsets in Flink CDC. I describe how they map onto one design in a [post on Debezium and Flink CDC incremental snapshots](https://aandreakis.com/posts/a-verified-theoretical-basis-for-incremental-snapshots-in-debezium-and-flink-cdc.md).

### How is an incremental snapshot different from an initial snapshot?

An initial snapshot copies the table once at connector startup and holds back live changes until it is done. An incremental snapshot interleaves chunks with the live changes, can be triggered at any time, covers a whole table or specific keys and can be paused and resumed. For a day-zero bulk load of a large table, an initial snapshot can still be faster. The two combine well.

### Does DBLog lock tables or stop writes?

It takes no table locks and application writes are never blocked. Each chunk costs one `SELECT` and two watermark writes.

### What does DBLog need from a source database?

A primary key on the table, access to a transaction log that carries full row images and write access to a watermark table. Your application and your own tables do not change. The read-only variants of Debezium and Flink CDC avoid the watermark writes (see above).

### Is DBLog something I can install?

DBLog is a published design. To use it, run a connector that implements it, such as [Debezium](https://debezium.io/documentation/reference/3.7/connectors/mysql.html#debezium-mysql-incremental-snapshots) or [Apache Flink CDC](https://nightlies.apache.org/flink/flink-cdc-docs-release-3.7/docs/connectors/flink-sources/mysql-cdc/#incremental-snapshot-reading) with incremental snapshots. [dblog-impl](https://aandreakis.com/dblog-impl.md) is my reference implementation, meant for study ([source on GitHub](https://github.com/aandreakis/dblog-impl)).

### Do I need Kafka?

No. Any stream that keeps each key's events in order works. On Kafka, the proposed extension emits absence per key as a tombstone (a message with a key and no value that means "delete this key") and the sink has to be configured to apply tombstones as deletes.

### Can orphan rows be checked for only a few keys?

The proposed extension includes a `verify-keys-absent` request for that. It checks a given list of suspect keys between watermarks and emits absence only for the keys that do not exist at the source.

## Where DBLog is used: Netflix, Debezium and Apache Flink CDC

I built DBLog at Netflix, where it went into production in 2018. It became the foundation of the MySQL and PostgreSQL connectors of [Delta](https://netflixtechblog.com/delta-a-data-synchronization-and-enrichment-platform-e82c36a79aee), Netflix's data synchronization and enrichment platform. Netflix's later [Data Mesh](https://netflixtechblog.com/data-mesh-a-data-movement-and-processing-platform-netflix-1288bcab2873) platform, as described in 2022, used the DBLog library for its MySQL and PostgreSQL source connectors.

Outside Netflix, the design is best known through Debezium and Apache Flink CDC. Several other open-source and commercial data-integration tools have adopted or adapted the same watermarked-chunk pattern.

- [Debezium 3.7 reference: incremental snapshots](https://debezium.io/documentation/reference/3.7/connectors/mysql.html#debezium-mysql-incremental-snapshots): Incremental snapshots in the version 3.7 documentation.
- [Debezium design document DDD-3](https://github.com/debezium/debezium-design-documents/blob/main/DDD-3.md): The proposal that introduced incremental snapshots, based on the DBLog paper.
- [Debezium blog: incremental snapshots (2021)](https://debezium.io/blog/2021/10/07/incremental-snapshots/): The announcement and walkthrough.
- [Apache Flink CDC 3.7 reference: incremental snapshot reading](https://nightlies.apache.org/flink/flink-cdc-docs-release-3.7/docs/connectors/flink-sources/mysql-cdc/#incremental-snapshot-reading): Its chunk reading algorithm, inspired by the DBLog paper.

## Learn more

- [DBLog: Flow and Sound](https://aandreakis.com/dblog/flow-and-sound): Interactive visual and acoustic companion.
- [dblog-impl: A DBLog Reference Implementation](https://aandreakis.com/dblog-impl.md): Executable Java 21 implementation for MySQL and PostgreSQL.
- [Netflix tech blog, December 2019](https://netflixtechblog.com/dblog-a-generic-change-data-capture-framework-69351fb9099b): Where DBLog was introduced.
- [DBLog paper (arXiv 2010.12597)](https://arxiv.org/abs/2010.12597): The original design.
- [Orphan rows paper (arXiv 2611.10810)](https://arxiv.org/abs/2611.10810): The extension that removes orphan rows.
- [Generalized DBLog (arXiv 2609.08160)](https://arxiv.org/abs/2609.08160): Debezium and Flink CDC incremental snapshots as one family.
- [A theoretical study of DBLog (arXiv 2605.31475)](https://arxiv.org/abs/2605.31475): Why the result equals a snapshot.
- [Post: from pure CDC to full data synchronization](https://aandreakis.com/posts/evolving-from-pure-cdc-to-full-data-synchronization-with-dblog-based-incremental-snapshots.md): The orphan rows work for practitioners.
- [Post: incremental snapshots in Debezium and Flink CDC](https://aandreakis.com/posts/a-verified-theoretical-basis-for-incremental-snapshots-in-debezium-and-flink-cdc.md): How both relate to DBLog.
- [Post: snapshot-equivalent replay of a live table](https://aandreakis.com/posts/snapshot-equivalent-replay-of-a-live-table-without-taking-a-full-snapshot.md): Why the stream adds up to a snapshot.
- [Post: Change-Data-Capture doesn't solve dual writes](https://aandreakis.com/posts/change-data-capture-doesnt-solve-dual-writes.md): What CDC does and does not fix.
- [Post: I vibe coded my old Netflix project](https://aandreakis.com/posts/i-vibe-coded-my-old-netflix-project.md): Rebuilding DBLog from scratch.
- [Talk: DBLog explained (video)](https://www.youtube.com/watch?v=aJvqqiSM5qg): The design, walked through.
- [Talk: Debezium Community Showcase (video)](https://youtu.be/o6XBwcXcO18?t=800): The basis for incremental snapshots in Debezium.

---

Written by Andreas Andreakis, creator of DBLog at Netflix. This guide draws solely on published papers and public documentation. It is not affiliated with, endorsed by or sponsored by Netflix.
