Data Lake and Data Warehouse 5 min read

Your Data Warehouse Is Only as Good as Your Incremental Load

When a new data warehouse disappoints, the cause is rarely the warehouse. Snowflake, Synapse, BigQuery and Databricks are all capable platforms. The trouble usually starts one step earlier, in the pipeline that moves changed data out of operational systems every hour or every night.

That pipeline is called the incremental load, and it carries a lot of weight. It decides whether the numbers on your dashboards match the numbers in your source systems, whether your production database slows down when the pipeline runs, and how much you pay for warehouse compute each month.

This series walks through how to build an incremental pipeline from SQL Server to Snowflake that is accurate, fast and cheap to run. This first article is for the people who own the outcome: what goes wrong, why it matters, and what a sound architecture looks like.

Why “just copy the changed rows” is harder than it sounds

Full reloads are simple: truncate the target and copy everything again. They stop being practical once tables reach tens of millions of rows. Incremental loading copies only what changed since the last run, which sounds simple until you ask how the pipeline knows what changed.

Most teams reach for a LastModifiedDate column. It works in testing and then quietly fails in production, because application code forgets to set it, bulk updates bypass it, and clock differences between servers make it unreliable as a cut-off point.

The four failure modes we see most often

1. Silent data loss

The most dangerous failure produces no error. A pipeline records “I’ve loaded everything up to point X” while a slow transaction is still open below point X. When that transaction commits, its rows sit behind the bookmark and are never loaded. Reports drift from the source, and nobody can explain the gap.

2. Pipelines that slow down production

A naive extraction query on a large table scans the whole table, holds locks, and competes with customer-facing traffic. Teams then schedule it at 2 a.m., which pushes data freshness out to a day.

3. Duplicates and stale overwrites

The same record can change several times between runs, and files can arrive out of order. Without a clear rule for which version wins, the warehouse ends up with duplicate rows or with older values overwriting newer ones.

4. Paying for compute that does nothing

When extraction and transformation run on separate schedules, the warehouse often wakes up to process an empty or half-written batch. That is wasted spend on every run, and it can also load incomplete data.

What a sound architecture looks like

The pattern we recommend for SQL Server sources has five stages:

SQL Server  →  Parquet files  →  Object storage     →  Snowflake raw  →  dbt models
(source)       (compressed)      (data lake            (bulk loaded)     (de-duplicated,
                                  landing zone)                           analytics-ready)

Each stage has one job:

  • Change detection with rowversion. SQL Server maintains this value automatically on every insert and update, so application code cannot forget to set it. Combined with the right upper bound, it gives a gap-free bookmark. (Article 2)
  • Chunked, index-backed extraction. Changes are read in small batches through a dedicated index, so the source database barely notices. (Article 3)
  • A data lake landing zone. Compressed Parquet files in S3, Azure Blob or Google Cloud Storage give you a cheap, replayable record of every change, which is useful well beyond the warehouse.
  • Bulk loading and a guarded MERGE. Snowflake loads files in bulk and only applies a change when it is newer than what it already holds. (Article 4)
  • dbt for transformation. Business logic lives in version-controlled, tested SQL models. (Article 5)

The whole flow runs as one sequence in a container, so transformation only starts after extraction succeeds. (Article 6)

What this means for your business

  • Numbers you can trust. Reconciliation between source and warehouse becomes a routine check instead of an investigation.
  • Fresher data. Because extraction is light on the source, it can run hourly or more often rather than overnight.
  • Predictable cost. Warehouse compute runs only when there is new data to process.
  • Less operational risk. No credentials in code, no servers idling between runs, and a clear restart point after any failure.

Questions to ask about your current pipeline

If you are planning a new warehouse or data lake, or reviewing an existing one, these questions quickly show where the risk sits:

  1. How does the pipeline decide which rows have changed, and what happens to a transaction that is still open when the pipeline runs?
  2. How are deleted rows reflected in the warehouse?
  3. What load does extraction put on the production database?
  4. If a run fails halfway, where does the next run start?
  5. Does the warehouse ever process a batch that the extraction step hasn’t finished writing?

If any answer is “we’re not sure”, the rest of this series explains what good looks like.

How YenDigital can help

We design, build and review data warehouse and data lake pipelines for teams moving from SQL Server to Snowflake and other cloud platforms. That can mean a short assessment of an existing pipeline, a reference implementation your team owns, or end-to-end delivery.

Book a pipeline review

Share this article

Our Partners

Built with leading
AI technologies

We build and integrate AI solutions using technologies from OpenAI, Google Gemini, Anthropic, DeepSeek and Perplexity, selected to suit each client’s needs.

Enterprise-Ready AI Solutions Built for Scale & Security

Secure, scalable AI solutions designed to integrate with your enterprise systems and accelerate business outcomes.

Get a Quote