Sign in
Compare & Sync

A readable diff of two live environments

Point at two databases of the same engine. Migratrix compares structure and, if you ask, rows. You get an object-level report, a generated alignment script, and the option to turn selected diffs into a change script that then follows the pipeline.

What the structural compare covers

Objects, not two dumps to eyeball

Tables and columns always. Indexes and constraints (primary, unique, foreign keys) on request. Views, procedures, and functions on request. Triggers too, when you want them.

Sync script from the diff

Generate SQL that brings the target in line with the source, ordered so dependent objects are created and dropped in a valid sequence. Selected diffs can also open as a draft change script.

Same engine on both sides

This workflow requires matching engine types. Comparing Oracle to PostgreSQL is a modelling problem, not a diff, and lives in Conversion Studio.

Row-level data comparison

Inserted, updated, and deleted rows for selected tables, side by side, with the statement that would align each row.

Closing the gap, not just seeing it

Mode What it does
Table sync Copy a table with optional constraint disable, backup, and transactions. Can create the target table from source schema when it is missing.
Incremental sync Detect and apply only what changed since the last sync.
Post-transfer check Source and target are compared after the transfer, so you know it landed.

Schema objects, data options, and what stays in code

Choose one of three comparison types: Schema, Data, or Both. Schema comparison is in every plan; comparing data is included from the Growth plan. Both sides must be the same engine a cross-engine pair cannot start a comparison.

Option Default
Tables, views, indexes, procedures, functions On. These are the objects most teams mean by “did staging drift?”
Triggers Off. They generate a lot of noise relative to how often they are the drift you care about.
System databases and system schemas Off. Turn them on only when you are comparing engine catalogues on purpose.
Data row limit 10,000, with 1,000 / 5,000 / 10,000 / 50,000 in the dropdown.
Reference tables only On. Lookup and configuration tables first.
Identity columns Excluded from data comparison so surrogate keys do not look like every row changed.
Backup before sync, use transactions, generate insert and update On in the transfer defaults when you close a gap, not only when you look at it.
Generate DROP / DELETE, compare permissions, comments, column order Off unless you turn them on.

Selected rows become a change script, not a silent apply

Create change script (N)

The count is the number of selected differences. The draft opens in the editor with those objects listed as affected, then walks the pipeline like any other script including approvals.

Per-row sync statement

Data differences show the statement that would insert, update, or delete that row. You can inspect it before it becomes part of a script.

Executor-side work

Comparison runs on the Executor and streams its progress. The platform does not pull both schemas into the cloud to diff them there.

Safe on a busy Executor

A large schema compare never starves query and execution traffic running on the same Executor.

Compare two environments you believe match

Drift Monitor