ContentsStart
2AI data migration
5Lifecycle
7Playbooks
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.
The aim is a migration that an AI builds while people make the decisions and maintain control.
See how it is done with Convago→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.
- Decide which data moves.
- Convert that data to the tables and fields of the new system.
- Check each row, and flag each row that breaks a rule.
- Load the rows, and count what loaded.
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 runningWhat 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.
- 1Governance→What a migration agrees, and what it can show afterwards.
- 2The plan→The whole method on one page.
- 3The work→The units of work, and who holds each one.
- 4The scoreboard→How much of each domain has loaded.
- AI data migration→How an AI builds a migration, and who directs it.5 pages
- Principles→The reasons behind the method.5 pages
- Roles→The team, the lead, the analyst and the developer.4 pages
- Lifecycle→The seven phases, and the three levels of the work.2 pages
- The pattern→How each table is built, mapped and checked.3 pages
- Playbooks→Worked examples, from the first week to the old system afterwards.8 pages
- About→Why the guide exists, where it does not fit, the terminology.3 pages
- Convago→Get 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
- Governance→what a migration agrees, and what it can show afterwards
- The plan→the whole method on one page
- The scoreboard→how much of each domain has loaded
- The migration lead→the role that leads the migration
- Team composition→example teams, from one person up
- Estimating→how to size the work
- Go-live strategies→the ways to go live
- Rehearsal→the whole cutover, for practice
- When not to use this→where the method and the tool do not fit
- Governance→what a migration agrees, and what it can show afterwards
- The plan→the whole method on one page
- The work→the units of work, and who holds each one
- The scoreboard→how much of each domain has loaded
- The migration lead→the role that leads the migration
- The first week→what to set up before anything else
- The seven phases→the migration, in order of time
- Explained variance→what to do with rows that did not load
- Testing→the stack of checks
- Rehearsal→the whole cutover, for practice
- Go-live strategies→the ways to go live
- The cutover weekend→an example of a cutover
- The business analyst→the role between the business and the developers
- Domain, package, table→the three levels of the work
- Value mapping→what each old value becomes in the new system
- Data quality→what to fix, and where
- The six touchpoints→the meetings with the business
- Explained variance→what to do with rows that did not load
- The developer→the role that builds the load
- The pattern→the technical design of the load
- Value mapping→what each old value becomes in the new system
- Checks, counts and totals→how a load is shown to be right
- Explained variance→what to do with rows that did not load
- Plugs→a corrective record for a gap
- Data quality→what to fix, and where
- A first table→one table, with every command and SQL file
- Keys, and running again→how a row keeps its key, and a second send adds nothing twice
- The six touchpoints→the meetings with the business
- The scoreboard→how much of each domain has loaded
- Value mapping→what each old value becomes in the new system
- Data quality→what to fix, and where
- Explained variance→what to do with rows that did not load
- Depth→how far the migration goes
- Testing→the stack of checks
- Archiving the old system→where the data that stays behind is kept
- AI data migration→how an AI builds a migration, and who directs it
- The pattern→the technical design of the load
- Principles→the 31 principles, in six groups
- Governance→what a migration agrees, and what it can show afterwards
- A first table→one table, with every command and SQL file
- Commands→every 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.
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.