ContentsAI data migration

Guide · AI data migration

The workspace

An AI data migration is run from one workspace: a folder that holds everything that the migration has to manage, and that keeps each thing linked to the next. Convago, the tool of this guide, makes the folder and runs what is in it. A person works in the same folder, with an AI or with none.

The workspace One folder for one migration.

What was saidThe transcript of a meeting, kept unchanged.
The requirementWritten with the words that it came from.
The SQLEach file names the requirement that it serves.
The runEach run is logged: what ran, when, and how many rows.
The resultRows in scope, loaded and rejected · problems by cause · totals.
The AI keeps the linksIt writes each link, and uses the links to list the files that a change touches.
Convago keeps the stateThe keys, the value lists, the decisions, the counts and the run log.
One set of figuresThe developer in VS Code, the business in a web page and the AI read the same counts.
The same picture, as text
 THE WORKSPACE: one folder for one migration

 WHAT WAS SAID      ──►  THE REQUIREMENT     ──►  THE SQL              ──►  THE RUN              ──►  THE RESULT
 the transcript of a     written with the         each file names           each run is logged:       rows in scope, loaded and
 meeting, kept           words that it            the requirement           what ran, when, and       rejected · problems by
 unchanged               came from                that it serves            how many rows             cause · totals

 THE AI KEEPS THE LINKS      it writes each link, and uses the links to list the files that a change touches
 CONVAGO KEEPS THE STATE     the keys, the value lists, the decisions, the counts and the run log
 ONE SET OF FIGURES          the developer in VS Code, the business in a web page and the AI read the same counts

Writing the SQL is one part of a migration. The larger part is everything around it: what was asked for, which file does it, and what each run produced. The workspace keeps these together. The page AI data migration shows the whole workspace as a window.

What the workspace gives

  • The pattern is in the toolThe parts that are the same for every table are already built: where a table is staged, how a value is mapped, how a row is rejected and counted. The AI does not work these out again for each project. It writes only what differs from table to table.
  • The state in one placeConvago makes the keys, the counts and the log of every run by itself, and it holds the value lists and the decisions that people give it. The documents of the migration are in the same folder: the requirements, the strategy, the plan and the approach. So the state of the migration does not depend on a spreadsheet or on a person's memory, and the documents stay in step with the technical work. The developer sees it in VS Code, the business sees it in a web page, and the AI reads it through the commands.
  • A link at each stepA requirement quotes the meeting that it came from, and each SQL file names the requirement that it serves. The AI writes these links as it works. So when a requirement changes, the files to look at can be listed, by the AI or by a person. A person still checks that the list is complete.
  • Loadable rows onlyThe aim is that every row that reaches the load is a row that the target accepts. Each row is checked against the rules of the target before it is sent, and a row that fails stays behind with its reason. So most refusals are found before the load, not during it. When a person says so, Convago sends the rows that passed, or writes them as files for the loading tool of the target. A row that the target still refuses comes back with the reason that the target gave, and it is counted as rejected.
  • Plain files and commandsThe workspace is a folder of text files, and every step is a command. So it can be kept in source control, and an automated job can start a run when a file changes. The database installs with Convago and needs no server, and an editor such as VS Code, which is free, is enough to work in it.

The workspace is what lets an AI take on the large and repetitive work, which What an AI can do lists. The analyst and the developer keep the judgement, and their work carries less risk, because less of it depends on memory.

More