Request a demo
← All articles Use case

Use case: moving a payments warehouse from Redshift to Oracle ADW in waves

A worked example for a regulated finance team: inventorying tables, reviewing type changes, converting DDL, moving tables in waves with incremental loads, and validating each wave before the next.

Payments teams move warehouses carefully, because the warehouse is where finance reconciles, risk monitors and regulators get their reports. A migration that loses a fee row or shifts a settlement date by a time zone is not a technical incident; it is a finance one. This example follows a made-up payments processor moving from Amazon Redshift to Oracle Autonomous Data Warehouse with InsightAutoHub, in waves, with validation between each.

Example · a made-up payments processor

Quillfield Payments' warehouse move

Quillfield Payments (fictional) processes card payments for small merchants. Its Redshift warehouse holds about two hundred tables: reference data, merchant and terminal dimensions, settlements and fees, and several years of transactions. The company is consolidating on Oracle Cloud. Nadia leads the data platform team; Marcus from finance will sign off each wave.

In short

Inventory the tables with their key columns, load types and watermarks; run the datatype mapping report and agree the conversions; write and review target DDL; move tables in waves, small and static first, large and changing last; and validate every table in a wave before starting the next. Finance signs the validation exports, not a slide.

1. Inventory the tables

On Migration Tables, Nadia's team adds candidate tables from the Redshift location and configures each one: key columns for tracking, load type (full, incremental or delta), the watermark column used to track changes (for transactions, the created timestamp), and a priority from 1 to 10. Tables can be activated, deactivated and filtered by location and load type.

The Migration Tables configuration screen with search, location filter, load type filter and an empty candidate tables list with an Add Your First Tables button.
Migration Tables before the inventory: tables are added from a location, then given keys, load type, watermark and priority.

2. Agree the type changes

The datatype mapping report lists every distinct Redshift-to-ADW conversion in scope. Two need decisions: a few very long free-text VARCHAR columns, and the boolean flags on merchant records. Both decisions go into the team's mapping profile; DDL Migration generates the target DDL from it, and Quillfield's DBA reviews it before it runs.

3. Move in waves

WaveTablesLoad typeWhy this order
0Currency, country, fee-type reference tablesFullSmall and static: proves the path end to end
1Merchants, terminals, acquirersFullEverything else joins to them
2Settlements and feesIncremental on a timestamp watermarkLarge, changes daily
3TransactionsIncremental, highest volume lastLargest; benefits from every lesson so far
Cut-overAll changing tablesDelta since the last watermarkShort freeze, final catch-up

InsightAutoHub's Data Migration screen unloads from Redshift to object storage in the chosen format (Quillfield uses Parquet), transfers it and loads it into ADW, with batch size controlling how many tables move in parallel, and the type report and the validation run between waves. (See the planning guide.)

4. Validate before the next wave

For every table in a wave, the team runs row-level validation: counts on both sides, then a full comparison ordered by the table's key. For the transaction tables, validation runs per month, with the same month condition in the query on each side, so a mismatch points at one month, not three years.

The Data Validation configuration with source and target location, schema, table and optional query panels.
Validation per table, or per slice with a filter or a query on each side.
Freeze the comparison window. Incremental tables keep changing on the source. Validate them up to a fixed watermark on both sides (the same condition on each), or the match rate will reflect new rows, not migration errors.

5. Reconcile the money, not only the rows

Marcus asks a question row matching does not answer directly: do the totals agree, per day and per currency? The team answers it with the same validation, using a query on each side instead of a table:

SELECT settlement_date, currency, COUNT(*) AS n, SUM(fee_amount) AS fees FROM settlements WHERE settlement_date >= '2026-01-01' AND settlement_date < '2026-02-01' GROUP BY settlement_date, currency ORDER BY settlement_date, currency

Each side returns one row per day and currency, and the rows are compared like any other: same order, type-aware, numbers compared by value. A 100% match on that result is a reconciliation finance recognises, and it is quick to run for every month in scope. The row-level comparison still runs too; the aggregate is the version Marcus reads first.

6. What went wrong in wave 1 (and why it was cheap)

In this made-up example, the first validation of the merchants table matched every row except in one column: the is_active flag. Redshift held it as a boolean; the agreed ADW type was NUMBER(1). The data was right; the comparison was reading true on one side and the number 1 on the other. The fix was in the validation query, not the data: CASE WHEN is_active THEN 1 ELSE 0 END AS is_active on the Redshift side. Because it was found in wave 1, every later table with a flag used the same query pattern from the start.

The gate between waves

Gate criterionEvidenceOwner
Every table in the wave at 100%, or an agreed explanationValidation export per tableNadia
Daily totals per currency match for incremental tablesAggregate validation per monthMarcus
Downstream finance reports run on the targetReport run with output checkedFinance analyst
Rollback for the wave still possibleSource still writable; plan unchangedNadia

What Marcus signs

  • The datatype mapping report with the agreed conversions marked.
  • One validation export per table per wave: source records, target records, matching records, match rate.
  • For any table below a 100% match, the list of differing rows and the explanation (for example, a column excluded by design).

Questions finance teams ask

Why waves rather than one weekend?

Each wave is small enough to validate fully and to roll back on its own. A single weekend move has to be right everywhere at once, and the validation happens when there is least time to act on it.

What does "an agreed explanation" look like?

A written note, before validation, of a difference that is expected and why: a column recalculated on the target, rows deliberately filtered out. A difference explained only after it appears is a finding, not an explanation.

Can we validate while the source is still taking payments?

Yes, for any window that has closed: compare up to a fixed date or watermark with the same condition on both sides. Rows still arriving on the source belong in the next comparison, not this one.

This is an illustrative plan, not advice on your regulatory obligations; check record-keeping and change-control requirements with your compliance team.

See it on your own migration

Bring one schema you need to move

We'll map its types, plan the tables and validate a sample end to end with your team, as a hosted trial or inside your own cloud.

Request a demo