Database Migration

The engine is the easy part. We rehearse the schema, permissions and data at full volume, then explain every difference before cutover.

The database half of a platform move: engine, schema, collation, permissions and the queries built on top of them. We rehearse at full volume and account for every difference before cutover, because that is where the surprises sit.

Starts with
Full-volume rehearsal
You get
A move you can explain
You own
Data decisions
We bring
Tooling and reconciliation
Best fit
Database moves where schema, permissions, performance and a tight cutover window all matter.
Not a fit
A simple dump-and-restore with no business data owner and no reconciliation.

When the engine moves but the access rules do not

  • A schema is copied but permissions are not.
  • A previous move produced rows nobody could match to the source.
  • The plan assumes a quiet weekend nobody can guarantee.

Why this is harder than it looks

Changing engine looks like a schema exercise and behaves like a permissions exercise. The engine moves over a weekend; the access rules that grew around it take longer, because nobody wrote them down.

Most of the risk sits in queries nobody owns: the report built on a view, the job that reads a table directly, the collation difference that changes sort order for exactly one user.

So the rehearsal is a full-size copy with real access patterns, not a schema import with matching row counts.

The engine or the records

Figure 1 — The engine, schema and access model or the business records themselves, and which move you are buying

The engine, schema and access model or the business records themselves, and which move you are buyingWhich problem are you solving?DATABASE MIGRATIONEngine, schema and accessRehearsal at full volume, with every difference explained.THE PROBLEMA schema is copied but the permissions are not.THE MOVEProfile, design, rehearse, reconcile, then switch with a return path.DONE WHENCutover has a written reversal and a tested window.DATA MIGRATIONBusiness records across systemsThe record, its meaning and its owner all have to move.THE PROBLEMTwo systems disagree about the samerecord and nobody owns the meaning.THE MOVEProfile, map, reconcile, then switch off the old source.DONE WHENThe business signs meaning and exceptions, not row counts.If the records have to be reconciled between systems, that is a different engagement. Running both as one cutover removes the ability to tell which one failed.

Figure 2 — The layers that have to hold for Database Migration

stack, top to bottomProfilewhat is in theresizegrowthqualityDesigntarget and accessschemarolesretentionRehearsefull volume on a copytimedrepeatableReconcileevery difference explainedcountssamplesSwitchcut with a reversalwindowownerThe rehearsal is timed. A move that takes longer than the available window has told you the plan is wrong while there isstill time to change it.

What you get

Profile
A database profile
Size, growth, quality and the queries that matter most.
Design
A target design and access model
Schema, roles, retention and who may grant each permission.
Rehearsal
Rehearsal results
Full-volume runs on a copy, with the time taken recorded.
Reconciliation
A reconciliation report
Counts and sampled records, with every difference explained.
Cutover
A cutover runbook
Window, checks, owner and the reversal for each step.
Record
A reversal record
What was rolled back in rehearsal and what it taught the plan.

Who signs off each layer

Data owners sign off meaning and retention, delivery owns the rehearsal and engineering owns tooling and performance.

Figure 3 — Who signs off meaning and retention

Data ownerDeliveryEngineeringProfileDesignRehearseReconcileSwitchknows the dataruns profilingextractsapproves retentionowns access modelbuilds schemareviews timingruns rehearsalexecutessigns differenceschecks samplesautomatesapproves cutruns runbooksupportsA difference nobody can explain stops the cutover. It is not a post-launch task.

What we need before we start

A full-size copy to rehearse against.

The named owners of the data and of the access rules.

How it usually runs

Stage 1
Inventory the access
Every application, report, job and person that touches the database, and through what.
You decide: what is allowed to keep direct access.
Stage 2
Rehearse under load
A full-size copy, real query patterns, and the slow queries measured rather than assumed.
You decide: the performance threshold that blocks the cutover.
Stage 3
Move the rules too
Grants, roles, collation and timezone behaviour are rebuilt and tested, not inherited from the old instance.
You decide: who keeps privileged access afterwards.

Questions we get asked

Can we run both engines in parallel?

For a defined window, yes, and it is the only way to test the fallback. Beyond that it doubles the surface where the two can disagree.

Who owns the database today?

Usually nobody, which is the finding. Naming an owner is a precondition, not a deliverable at the end.

Is a managed service cheaper?

Often, and the cost moves from licences to the work of adapting to its limits. That work is the number to compare, not the invoice.

Where this has been applied

Reading that goes with this

How to start

Bring the largest table and the longest-running query against it. Get in touch.

CONTACT US

We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.