How it works
This is how Artie handles for each table:1
Backfill
- Scans full table in batches, writes directly to destination
- Can use read replica to minimize primary DB load
2
CDC
- Reads database logs immediately
- Queues all changes (inserts, updates, deletes) in Kafka
3
Backfill completes
- Artie applies the queued CDC changes in order
How to kick off a backfill
By default, when you onboard a new table, Artie will kick off a backfill to copy all the historical data to your destination. To run an ad hoc backfill:- Open the pipeline’s overview page.
- Open the More options menu and choose Backfill tables… (or Backfill history tables… for history tables).
- Pick the tables. If your destination supports it, choose what happens to the destination tables, then confirm.
Walkthrough
Walkthrough

Destination table behavior
When triggering an ad-hoc backfill, you choose what happens to the destination table before the backfill begins:Keep existing rows
Recommended. Artie replaces matching rows and leaves the rest. Rows deleted at the source stay in your destination.
Empty tables first
Empties the destination table, keeping its schema, indexes, and grants, then reloads it. Queries see partial data until the backfill finishes.
Drop and recreate
Recreates the table from the source, including its schema. Use this when the schema changed.
Rebuild and swap
Loads the backfill into a new table and swaps it with the destination table when it finishes, so queries never see the table empty or partially loaded. Snowflake and Databricks only, in early access. See Rebuild and swap backfills.
Advanced settings
Open your pipeline, click Edit pipeline, and go to the Source tab:- Backfill settings sets how hard this pipeline’s backfills read from your database. Standard puts a light load on the database and is safe for live traffic. Performance is faster but adds more load, so it works best on a read replica. Open Advanced tuning to see the read method, parallelism, chunk size, and batch size. Standard locks everything except batch size.
- Advanced settings > Max concurrent backfills sets how many tables backfill at once. It defaults to your workspace limit.

How are backfills ordered?
In , tables are backfilled in the order they were added, up to the concurrency limit.What happens to CDC changes during a backfill?
Our process continues to capture all changes to Kafka in the background. Once backfill completes:- We switch to CDC stream
- We apply queued changes in order
- The table transitions to fully streaming state

