ContentsStart

Guide · Start

Start here

A data migration moves the data of a business from an old system to a new one. This guide shows how to do a migration, from the first meeting to the weeks after the business starts in the new system. It is written for two readers at once: an AI and a person.

With AI

The aim is a migration that an AI builds while people make the decisions and maintain control.

See how it is done with Convago
For people

This is equally a guide for a person. It explains the whole process of a migration for a human reader, and every step can be done with no AI.

The old systemYears of data: customers, invoices, balances. In the tables and fields of the old system.
The migration
  1. Decide which data moves.
  2. Convert that data to the tables and fields of the new system.
  3. Check each row, and flag each row that breaks a rule.
  4. Load the rows, and count what loaded.
The new systemDifferent tables, fields and rules. The data must match the new tables, fields and rules to load.

Go-liveThe business starts to work in the new system. Go-live can be a single cutover, staged go-lives, or parallel running. Go-live strategies

The same picture, as text
 WHAT A DATA MIGRATION IS

   THE OLD SYSTEM               THE MIGRATION                               THE NEW SYSTEM
   years of data:         ──►   1  decide which data moves            ──►   different tables,
   customers, invoices,         2  convert that data to the tables          fields and rules
   balances                        and fields of the new system             the data must match
   in the tables and            3  check each row, and flag each row        the new tables, fields
   fields of the old system        that breaks a rule                       and rules to load
                                4  load the rows, and count what loaded

   go-live: the business starts to work in the new system
   go-live can be a single cutover, staged go-lives, or parallel running

What is here

Two things are here, and each can be used without the other.

  • The guideThe method: what to agree, how to build the load, how to check it, and how to go live. It is usable with any database and any tool, and each page that teaches an idea starts with a picture.
  • The toolConvago is the tool that is being built for this method: enterprise data migration, without the bloat. It needs no server of its own: the data is held in files on your computer. An AI can run every one of its commands. It is new: the tab Tool shows how to start, and the page When not to use this says what it does not do yet.

The guide describes a pattern, and the reasons behind it. It is not a set of rules to comply with, because no two migrations are the same. Each page gives a recommendation and then shows it in a situation: a cutover weekend, a team, a chain of sign-offs. Those situations are examples from real projects, and they are there so that the recommendation can be seen in context. Copy the pattern, and scale it to the job. A small migration uses a little of it, and a large one uses most of it.

How the guide is laid out

The first four pages after this one give the whole of a migration at a glance: what is agreed, the method, the work and the progress. The other parts go deeper, and can be read in any order.

Read these first, in order
  1. 1GovernanceWhat a migration agrees, and what it can show afterwards.
  2. 2The planThe whole method on one page.
  3. 3The workThe units of work, and who holds each one.
  4. 4The scoreboardHow much of each domain has loaded.
Then, by need
  • AI data migrationHow an AI builds a migration, and who directs it.5 pages
  • PrinciplesThe reasons behind the method.5 pages
  • RolesThe team, the lead, the analyst and the developer.4 pages
  • LifecycleThe seven phases, and the three levels of the work.2 pages
  • The patternHow each table is built, mapped and checked.3 pages
  • PlaybooksWorked examples, from the first week to the old system afterwards.8 pages
  • AboutWhy the guide exists, where it does not fit, the terminology.3 pages
The Tool tab
  • ConvagoGet started, a first table, and the reference.7 pages

A page gives the common names of its idea under its first sentence, where the trade has them, and the page Terminology lists them all.

Where to read first

You run the project
  1. Governancewhat a migration agrees, and what it can show afterwards
  2. The planthe whole method on one page
  3. The scoreboardhow much of each domain has loaded
  4. The migration leadthe role that leads the migration
  5. Team compositionexample teams, from one person up
  6. Estimatinghow to size the work
  7. Go-live strategiesthe ways to go live
  8. Rehearsalthe whole cutover, for practice
  9. When not to use thiswhere the method and the tool do not fit
You lead the migration
  1. Governancewhat a migration agrees, and what it can show afterwards
  2. The planthe whole method on one page
  3. The workthe units of work, and who holds each one
  4. The scoreboardhow much of each domain has loaded
  5. The migration leadthe role that leads the migration
  6. The first weekwhat to set up before anything else
  7. The seven phasesthe migration, in order of time
  8. Explained variancewhat to do with rows that did not load
  9. Testingthe stack of checks
  10. Rehearsalthe whole cutover, for practice
  11. Go-live strategiesthe ways to go live
  12. The cutover weekendan example of a cutover
You are the analyst
  1. The business analystthe role between the business and the developers
  2. Domain, package, tablethe three levels of the work
  3. Value mappingwhat each old value becomes in the new system
  4. Data qualitywhat to fix, and where
  5. The six touchpointsthe meetings with the business
  6. Explained variancewhat to do with rows that did not load
You build the migration
  1. The developerthe role that builds the load
  2. The patternthe technical design of the load
  3. Value mappingwhat each old value becomes in the new system
  4. Checks, counts and totalshow a load is shown to be right
  5. Explained variancewhat to do with rows that did not load
  6. Plugsa corrective record for a gap
  7. Data qualitywhat to fix, and where
  8. A first tableone table, with every command and SQL file
  9. Keys, and running againhow a row keeps its key, and a second send adds nothing twice
You are the business
  1. The six touchpointsthe meetings with the business
  2. The scoreboardhow much of each domain has loaded
  3. Value mappingwhat each old value becomes in the new system
  4. Data qualitywhat to fix, and where
  5. Explained variancewhat to do with rows that did not load
  6. Depthhow far the migration goes
  7. Testingthe stack of checks
  8. Archiving the old systemwhere the data that stays behind is kept
You are an AI
  1. AI data migrationhow an AI builds a migration, and who directs it
  2. The patternthe technical design of the load
  3. Principlesthe 31 principles, in six groups
  4. Governancewhat a migration agrees, and what it can show afterwards
  5. A first tableone table, with every command and SQL file
  6. Commandsevery command of the tool

The size of a migration

A migration can be of any size, and its size decides how much is built and who does the work. The smallest migration needs no technical solution at all: a person types the data into the new system. That is still a migration strategy, and for a few records it is the right one. Above that size the migration is built, and the team grows with the work.

No buildBy handTwenty customersA person types the data in.
SmallOne system, a few tablesOne person builds the migration and leads it.
MediumSeveral systems, many tablesTwo people: a lead who builds, and a migration business analyst.
LargeMany systems, millions of rowsA full-time lead, with analysts, developers and testers.

The sizes and the teams are examples.

Why a migration is hard

  • Two designsThe old system and the new system store data in different tables and fields. A row with a value that the new system does not allow is rejected, or it loads wrong.
  • Old dataYears of use leave gaps, duplicates and values that are hard to explain.
  • The cutover windowThe load of a cutover must finish in the time that the business can stop work. So the load is rehearsed first.
  • Several ownersThe project, the business, the owners of the new system and the migration lead each decide a part. A question that is put to the wrong owner gets a late answer, or a wrong one.
  • Day onePeople work with the migrated data on the first day. A wrong balance on an invoice reaches a customer.

Surveys of large system projects show how often the dates and the budget are missed: the figures, with their sources, are on the page Why this guide exists.

What the method gives

The method comes from practice: several hundred migrations, from repeatable loads built for software vendors to one-time moves of business-critical data.

Every migration has two jobs, and the method covers both. The first is to build the load: to write the SQL that converts each table, to check each row and to count the rows. The second is to run the migration with the project and the business: to settle who decides, when to meet and how to go live.

  • One patternEach table that is loaded is migrated the same way, on a small migration and on a large one.
  • Start from the targetThe target is the new system, and it decides what can load. So each table is built from the fields of the new system, not from those of the old one.
  • The same process each timeEvery run is the same process. So the cutover runs the commands that the rehearsal ran.
  • Numbers that everyone seesThe counts of rows loaded and rows rejected are shown all through the project, not at the end.
  • Every row is accounted forA row that did not load is explained and accepted by the business, or the problem is solved.