Skip to content

Analysis

Migrating a data warehouse without stopping reporting

Published 28 November 2026

A big-bang migration puts all reporting at risk on the same weekend. Replace the old warehouse piece by piece, run old and new in parallel, reconcile the numbers automatically, migrate domain by domain and cut over only on written criteria.

Changing data warehouse is rarely a purely technical choice. Costs rise, the old platform is no longer supported, or the team wants to move to the cloud. The risk is always the same: one Monday morning, the leadership numbers no longer match last week's, and nobody trusts the dashboards anymore.

A successful migration is invisible to users. They open the same reports, see the same numbers, and one day learn that the platform underneath has changed. This article describes how to get there: the pattern software engineers have used for twenty years to replace old systems without stopping them, and how it applies to a data warehouse.

Why big-bang migrations fail

The temptation is to prepare everything, then switch in one go. That plan fails for predictable reasons:

  • hidden rules: calculations live in views, Excel macros or scripts nobody documented;
  • invisible differences: rounding, time zones and null handling shift totals by a few percent;
  • no way back: once the old system is switched off, there is no reference left to compare against;
  • concentrated load: every report is tested in the same week, by users who also have their own jobs.

The first point deserves attention. In an old warehouse, the definition of "revenue" or "active customer" is rarely written anywhere. It is spread across a view built ten years ago, a filter in a report and a correction someone applies by hand every month. A big-bang migration discovers these rules all at once, usually in the week of a month-end close.

Replace the old system piece by piece

In 2004, the software engineer Martin Fowler named a gradual way of rewriting large legacy systems: the strangler fig. The name comes from a tropical plant that grows around a host tree until, years later, it stands on its own where the tree used to be. Applied to software, new parts are built alongside the old system, behaviour moves from the old to the new piece by piece, and the old system is switched off only when nothing depends on it anymore. Fowler revised the article in 2024, noting that the term is now widely used for gradual modernisation in general.

A data warehouse lends itself well to this approach, because its work is naturally divided:

  • each source is loaded separately;
  • each business domain, such as sales, finance or stock, has its own tables and reports;
  • each report reads from a defined set of tables.

So the migration can move one domain at a time, while the others keep running on the old warehouse. Users of a domain switch only when that domain is ready.

Running old and new in parallel

The basic rule: the old warehouse keeps feeding reporting until the new one has proved it produces the same numbers. For a few weeks per domain, both run on the same sources:

  • the same input data feeds both platforms, every day;
  • users keep working on the old system;
  • the new platform's outputs are compared automatically with the old one's;
  • the old warehouse is switched off only after every domain it serves has cut over.
Parallel run · gap between the two systemsIllustrative

Illustrative 8-week parallel run: the gap between the old and new systems falls from 3.2% in week 1 to 0% in week 6, when cutover happens, and stays at 0%.

The figure shows what a healthy parallel run looks like: the gap between the two systems is large in the first week, as differences in rules come to light, then shrinks as each one is explained and fixed. Cutover happens only once the gap has stayed at zero, or within the agreed tolerance, for long enough.

This period means paying for two platforms. That is the price of safety, and it stays limited when you migrate domain by domain rather than everything at once.

Reconciling the numbers

Comparing two warehouses does not mean opening two dashboards side by side. Reconciliation is automated, and it goes from the overall picture down to the detail:

  • volumes: the same number of rows per table and per day;
  • totals: the same sums on key amounts, by month and by entity;
  • metrics: the same values for the ten or twenty numbers leadership follows;
  • detail: for any gap, the exact rows that differ, and why.

The last level is what makes reconciliation useful. A total that differs by 0.4% says something is wrong. A list of the 212 rows that differ, with the column that differs, says what. A common technique is to compute a fingerprint of each row on both sides, a hash of its key fields, and compare the fingerprints: rows that exist on one side only, and rows whose fingerprint differs, are the ones to investigate.

Set the acceptable tolerance in advance. A rounding difference of a cent can be accepted and documented. A missing customer never can.

That example is typical. A good share of reconciliation gaps come from the old system, not the new one. Each one is a business decision: keep the old rule for continuity, or fix it and explain the change. Either way, write it down.

Migration order

Migrate by domain, not by technical layer. A domain groups the sources, transformations and reports that serve the same users. The order that works best:

  • a simple, visible first domain, with few sources, to bed in the method;
  • the most used domains next, once the team has mastered reconciliation;
  • the most complex domains last, often finance, with the most hidden rules;
  • switching off the old system only when no report depends on it anymore.

Before migrating anything, inventory the reports people actually use. Usage logs often show that a large share of old reports has not been opened in months. Those are not migrated: they are listed, their owners are asked, and they are retired.

Cutover criteria

Cutover for a domain is decided on criteria written before you start, approved by its business owner:

  • reconciliations stay within tolerance for at least two consecutive weeks;
  • every report in the domain has been rebuilt and checked by its users;
  • quality tests and alerts run on the new warehouse;
  • the rollback procedure is written down and has been tested;
  • users know when and how to switch tools.

If a criterion is missing, cutover waits. That costs less than rolling back in the middle of a month-end close.

Where to start

  • Inventory the reports people actually use, with their users, and retire the rest.
  • Group sources, transformations and reports by domain.
  • Choose a simple first domain and write its cutover criteria.
  • Build the automated reconciliation before migrating the first table.

These migrations are at the heart of our platform architecture and modernisation work. Our data platform assessment sets out the inventory, the domains and the migration order in two to three weeks.

Sources

  1. Martin Fowler, "Strangler Fig", martinfowler.com, first published 2004, revised 22 August 2024. martinfowler.com.
  2. Martin Fowler, "Original Strangler Fig Application", martinfowler.com, 29 June 2004. martinfowler.com.
  3. Martin Fowler, "Rewriting Strangler Fig", martinfowler.com, 2024. martinfowler.com.
Next analysisE-invoicing in Morocco: get your data ready before it becomes mandatoryRead the analysis 

And in your business?

Start with a current-state assessment

The Data Platform Assessment establishes where things stand in two to three weeks and ends with a costed roadmap.

See the platform assessment