migration-tool.com

Data model

Back to the application

The diagram

   

One box per concept, arranged by input tab; one line per relationship, with its cardinalities. Orange background: fixed list; dashed frame: computed concept, which only receives an owner.

SettingsDataApplicationsRoadmapBacklog0..n0..nraises, accepts10..ntype of10..ncontains10..ncontains0..10..nparent of10..nextracted in0..n0..nreads, feeds0..n0..nreads0..n0..nloads0..n0..nfreezes10..npaces0..n0..ntouches10..ntype of0..n0..ntouches0..n0..nuses10..1has0..n0..1from, to0..n0..1from, to10..ncarries10..nhas10..ncarries10..nhas10..nhas0..n0..1orders0..n0..nfreezes10..nrequires10..1has10..nholds10..nwrites (author)0..n0..ndesignates10..ntells10..nowns10..nowns10..nowns10..nowns10..nowns10..nowns0..n1about0..n1about0..n1about0..n1about0..n1about0..n1about0..n1about0..n1about0..n1about0..n1aboutSessionFormat versionSession descriptionRules raised to anomalyAccepted rulesRoadmap in stepsOrder of the stepsTask ownersCheck ruleCodeStandard levelData typeIdentifierLabelFrequencyIdentifierLabelConstraint typeIdentifierLabelTargetEntered labelCodeDescriptionOwnerSourceIdentifierEntered labelCodeDescriptionDocumented choiceReason for the choiceFrozen or liveExtracted in batchesOwnerExtraction batchIdentifierCodeLabelDescriptionComponentIdentifierSideSourceParent componentEntered labelCodeData typePhysical nameDescriptionDocumented choiceReason for the choiceUnder a preparationReasons of the preparationsDepends onNo dependency (confirmed)OwnerTB (transformation block)IdentifierEntered labelCodeDescriptionComponents read and fedExtraction batches readOwnerLB (load block)IdentifierEntered labelCodeDescriptionComponents loadedOwnerCut-offIdentifierEntered labelCodeDescriptionFrequencySources frozenPrior preparationIdentifierEntered labelCodeReasonComponents touchedConstraint of an own typeIdentifierEntered labelCodeTypeDescriptionComponents touchedApplicationIdentifierEntered labelCodeSideDescriptionComponents usedOwnerEnd of lifeEnd of life plannedDateReasonData archivingNo shutdown beforeDependencyIdentifierDependsOnDescriptionStepIdentifierEntered labelCodeDescriptionMonthApplication statusesLink statusesApplication status on a stepStatusLink status on a stepStatusFreeze periodIdentifierFromToReasonApplications concernedWork taskKeyTask ownerStakeholderStakeholderIdentifierLabelCodeUser storyIdentifierCodeTitleAuthorCited objectsStoriesDesignated stakeholdersStory of a cited objectStory

The concepts, tab by tab

Settings

Session

A migration scenario: its target, its sources, its TBs and its LBs. In the free version, a token has up to 10 sessions, plus the library examples, viewed without counting; in premium, up to 200.

The session itself: its name and description are entered in the Sessions window.

What it holdsMandatoryRule
Format versionyes
Session description250 characters
Rules raised to anomalyraisable rules only, never the reverse
Accepted rulesempty for a new or copied session
Roadmap in steps
Order of the stepsthe first is the start, the last the arrival
Task owners
Check rule (fixed list)

A check with its standard level (anomaly, to confirm, to document); in Settings, a rule to confirm or to document can be raised to an anomaly for the session.

Entered in: Settings › Rules.

What it holdsMandatoryRule
Codeyesfixed list, in the code
Standard levelyesanomaly, to confirm, to document, refusal
Data type

The nature of a component, at the level of detail wanted: file system, flat file, mainframe file, spreadsheet, XML or JSON file, document; database, set of tables, table, view, NoSQL database; message, API; document management, directory, data warehouse; or a type of your own.

Entered in: Settings › Managed data types.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Labelyesfixed standard types + own types, made unique by a suffix; a type in use cannot be deleted
Frequency

The rhythm of a cut-off: one-off, monthly, quarterly, half-yearly, yearly, or a frequency of the session's own (daily, weekly…).

Entered in: Settings › Frequencies.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Labelyesfixed standard frequencies (one-off, monthly, quarterly, half-yearly, yearly) + own frequencies, made unique by a suffix; a frequency in use cannot be deleted
Constraint type

What applies to a source before or during its migration: four standard types (cut-off, frozen or live, prior preparation, extraction batch), then the session's own types (access through a third party, sensitive data, volume…), each constraint of which (“CT-”) touches source components and becomes a task at the Prepare stage.

Entered in: Settings › Constraint types.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Labelyesfixed standard types (cut-offs, frozen or live, prior preparation, extraction batches) + own types, made unique by a suffix; a type in use cannot be deleted

Data

Target

The destination system of the migration, identified by its code.

Entered in: Data › Target.

What it holdsMandatoryRule
Entered labelyesthe part of the code after the prefix
Codeyesmandatory T- prefix + entered label, made unique by a suffix
Description250 characters
Owneryesone and only one stakeholder; none: anomaly
Source

A system the data come from. A migration has one or more sources.

Entered in: Data › Sources.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory S- prefix + entered label, made unique by a suffix
Description250 characters
Documented choicenot migrated (source) or starting empty (component)
Reason for the choiceonly with the choice
Frozen or livefrozen, live
Extracted in batches
Owneryesone and only one stakeholder; none: anomaly
Extraction batch

Part of a source extracted at once (“E1”, “E2”…), split its own way (period, volume, entity), independently of the target steps.

Entered in: Data › Source constraints.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
CodeyesE1, E2… in extraction order
Label
Description250 characters
Component

An element of a source or of the target: flat file, spreadsheet, XML or JSON file, table, set of tables. It has a code, a data type, a physical name and a description.

Entered in: Data › Sources; Data › Target.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Sideyessource, target
Sourcesource side only
Parent componentsame side, same source; no loop
Entered labelyesthe part of the code after the prefix
CodeyesS-{source}- or T-{target}- + label, unique on its side
Data typeyesstandard or own data type; Table by default
Physical name
Description250 characters
Documented choicenot migrated (source) or starting empty (component)
Reason for the choiceonly with the choice
Under a preparationdeduced from the preparations, sub-components included
Reasons of the preparationsdeduced from the preparations
Depends ondeduced from dependencies between target components; no cycle
No dependency (confirmed)target side only
Owneryestop-level component; a sub-component has its parent's
TB (transformation block)

Links major source components to major target components.

Entered in: Data › Transformation blocks.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory TB- prefix + entered label, made unique by a suffix
Description250 characters
Components read and fedsources and target; not a component and its content
Extraction batches readonly those of the sources it reads
Owneryesone and only one stakeholder; none: anomaly
LB (load block)

Groups the target components that are built together.

Entered in: Data › Load blocks.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory LB- prefix + entered label, made unique by a suffix
Description250 characters
Components loadedtarget only; not a component and its content
Owneryesone and only one stakeholder; none: anomaly
Cut-off

Moment when sources are frozen together (“CO-”), at a frequency; cut-offs stack on a same source. Matching sources without a common cut-off means matching two moments.

Entered in: Data › Source constraints.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory CO- prefix + entered label, made unique by a suffix
Description250 characters
Frequencyyesstandard or own; asked first, one-off by default; enters no date calculation
Sources frozencut-offs stack: a source under several cut-offs
Prior preparation

Work to do before migration (“PR-”): its reason (cleansing, deduplication, volume, access through a third party) and the source components it touches; preparations stack on a same component.

Entered in: Data › Source constraints.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory PR- prefix + entered label, made unique by a suffix
Reasonasked first; the label is suggested from it
Components touchedsource components; not a component and its content; preparations stack
Constraint of an own type

What applies to a source before or during its migration: four standard types (cut-off, frozen or live, prior preparation, extraction batch), then the session's own types (access through a third party, sensitive data, volume…), each constraint of which (“CT-”) touches source components and becomes a task at the Prepare stage.

Entered in: Data › Source constraints.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory CT- prefix + entered label, made unique by a suffix
Typeyesa constraint type of the session's own
Descriptionyesasked first; the label is suggested from it
Components touchedsource components; not a component and its content; no check

Applications

Application

Software running on a source or on the target (“APP-”); its links to the components it uses have a status on every step.

Entered in: Applications › Source applications; Applications › Target applications.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory APP- prefix + entered label, made unique by a suffix
Sideyessource, target
Description250 characters
Components usedon its side or, temporarily, the other (never master)
Owneryesone and only one stakeholder; none: anomaly
End of life

A fact of a source application, true whether or not it is migrated: its date, its reason, and whether its data are archived on that date; the steps must switch it off by that date at the latest.

Entered in: Applications › Source applications.

What it holdsMandatoryRule
End of life planned
Date
Reason
Data archivingyes, no
No shutdown before

Roadmap

Dependency

“A depends on B” between two components (sources or target) or applications (sources or targets); between target components, one needs the other to be loaded (no policy without a policyholder); between applications, it constrains the calendar; from an application to a component, it follows the data on each step (application deprived of data, reconnection). A sub-component implicitly depends on the component that contains it.

Entered in: Roadmap › Dependencies.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Dependsyesa component or an application
Onyesa component or an application; not itself, not its container; a pair once
Description250 characters
Step

A photo of the application roadmap (“ST-”): the status of every application and of every application ↔ component link. The first scheduled step is the start, the last the arrival; you can climb one by one or several at a time.

Entered in: Roadmap › The staircase steps.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Entered labelyesthe part of the code after the prefix
Codeyesmandatory ST- prefix + entered label, made unique by a suffix
Description250 characters
Month
Application statuses
Link statuses
Application status on a step

A photo of the application roadmap (“ST-”): the status of every application and of every application ↔ component link. The first scheduled step is the start, the last the arrival; you can climb one by one or several at a time.

Entered in: Roadmap › The staircase steps.

What it holdsMandatoryRule
Statusyesnot yet live, in service, read-only, shut down
Link status on a step

Status of a link: the data lives and is kept up to date in that application; a component has one master per step. The other statuses: absent, copy (received from the master), read-only (viewable, no longer updated).

Entered in: Roadmap › The staircase steps.

What it holdsMandatoryRule
Statusyesabsent, master, copy, read-only; a single master per component
Freeze period

Period (from, to) when nothing switches over, with its reason, for all applications or some: year-end freeze, closing, campaign; a step that switches over an application concerned in it is an anomaly.

Entered in: Roadmap › Calendar.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Fromyes
Toyes
Reasonyes
Applications concernednone: all
Work task

The tasks to reach a step from the previous one, derived from the model: prepare (switchover window, prior preparations, constraints to lift, cut-offs, delta of live sources), extract (batches), transform and load (TBs then LBs, wave by wave), switch the data over (masters, bridges, read accesses as copies), switch the applications over (going live, reconnection, read-only, shutdown), check (acceptance); each receives an owner. The migration script is built on them.

Computed from the inputs: nothing to enter, except its owner.

What it holdsMandatoryRule
Keyyesstep:kind:object, computed from moving one step to the next
Task owner

The stakeholder accountable for an object (target, source, top-level component, TB, LB, application): one and only one per object; it reads what the USs say about its objects. A sub-component has its component's owner.

Entered in: Roadmap › The staircase steps.

What it holdsMandatoryRule
Stakeholderyesa vanished stakeholder frees its tasks

Backlog

Stakeholder

Who is involved in the migration: a department, a person, a third party, named by a label that serves as its code; nothing is offered by default. It owns objects, writes USs, is designated in them.

Entered in: Backlog › Stakeholders.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
Labelyesmade unique by a suffix; nothing offered by default; none: anomaly
Codeyesthe label itself
User story

A story of the migration (“US-01”, “US-02”…): an author, a title, at least one cited object of the model, each with, if wished, its story, read by the object's owner, and the stakeholders it designates.

Entered in: Backlog › User stories.

What it holdsMandatoryRule
Identifieryestechnical, hidden, unique in the session
CodeyesUS-01… from the rank
Titleyes2,000 characters
Authoryesa stakeholder; none: anomaly; deleting the author is refused
Cited objectsyesat least one
Stories
Designated stakeholders
Story of a cited object

A story of the migration (“US-01”, “US-02”…): an author, a title, at least one cited object of the model, each with, if wished, its story, read by the object's owner, and the stakeholders it designates.

Entered in: Backlog › User stories.

What it holdsMandatoryRule
Story1,000 characters; read by the object's owner

In short

migration-tool keeps a small number of concepts about a migration, always the same: the target and the sources, their components, the transformation and load blocks linking them, the source constraints, the applications, the steps and the backlog. Each input on the work page fills one of them.

Everything else is computed from them, in real time with every input, with nothing more to enter: the checks, the waves and the critical path, the mapping, the staircase, the calendar, the work and the migration script. That script is the proof: it is written from the entered concepts alone; if it comes out in full, the migration model is complete. This is what guarantees that the same model always gives the same results, and that the definitions of the Glossary apply everywhere.

The relationships

  • Session — raises, accepts — Check rule: for each “Check rule”: 0 to n “Session”; for each “Session”: 0 to n “Check rule”.
  • Data type — type of — Component: for each “Component”: exactly 1 “Data type”; for each “Data type”: 0 to n “Component”.
  • Target — contains — Component: for each “Component”: exactly 1 “Target”; for each “Target”: 0 to n “Component”.
  • Source — contains — Component: for each “Component”: exactly 1 “Source”; for each “Source”: 0 to n “Component”.
  • Component — parent of — Component: for each “Component”: 0 or 1 “Component”; for each “Component”: 0 to n “Component”.
  • Source — extracted in — Extraction batch: for each “Extraction batch”: exactly 1 “Source”; for each “Source”: 0 to n “Extraction batch”.
  • TB (transformation block) — reads, feeds — Component: for each “Component”: 0 to n “TB (transformation block)”; for each “TB (transformation block)”: 0 to n “Component”.
  • TB (transformation block) — reads — Extraction batch: for each “Extraction batch”: 0 to n “TB (transformation block)”; for each “TB (transformation block)”: 0 to n “Extraction batch”.
  • LB (load block) — loads — Component: for each “Component”: 0 to n “LB (load block)”; for each “LB (load block)”: 0 to n “Component”.
  • Cut-off — freezes — Source: for each “Source”: 0 to n “Cut-off”; for each “Cut-off”: 0 to n “Source”.
  • Frequency — paces — Cut-off: for each “Cut-off”: exactly 1 “Frequency”; for each “Frequency”: 0 to n “Cut-off”.
  • Prior preparation — touches — Component: for each “Component”: 0 to n “Prior preparation”; for each “Prior preparation”: 0 to n “Component”.
  • Constraint type — type of — Constraint of an own type: for each “Constraint of an own type”: exactly 1 “Constraint type”; for each “Constraint type”: 0 to n “Constraint of an own type”.
  • Constraint of an own type — touches — Component: for each “Component”: 0 to n “Constraint of an own type”; for each “Constraint of an own type”: 0 to n “Component”.
  • Application — uses — Component: for each “Component”: 0 to n “Application”; for each “Application”: 0 to n “Component”.
  • Application — has — End of life: for each “End of life”: exactly 1 “Application”; for each “Application”: 0 or 1 “End of life”.
  • Dependency — from, to — Component: for each “Component”: 0 to n “Dependency”; for each “Dependency”: 0 or 1 “Component”.
  • Dependency — from, to — Application: for each “Application”: 0 to n “Dependency”; for each “Dependency”: 0 or 1 “Application”.
  • Step — carries — Application status on a step: for each “Application status on a step”: exactly 1 “Step”; for each “Step”: 0 to n “Application status on a step”.
  • Application — has — Application status on a step: for each “Application status on a step”: exactly 1 “Application”; for each “Application”: 0 to n “Application status on a step”.
  • Step — carries — Link status on a step: for each “Link status on a step”: exactly 1 “Step”; for each “Step”: 0 to n “Link status on a step”.
  • Application — has — Link status on a step: for each “Link status on a step”: exactly 1 “Application”; for each “Application”: 0 to n “Link status on a step”.
  • Component — has — Link status on a step: for each “Link status on a step”: exactly 1 “Component”; for each “Component”: 0 to n “Link status on a step”.
  • Session — orders — Step: for each “Step”: 0 to n “Session”; for each “Session”: 0 or 1 “Step”.
  • Freeze period — freezes — Application: for each “Application”: 0 to n “Freeze period”; for each “Freeze period”: 0 to n “Application”.
  • Step — requires — Work task: for each “Work task”: exactly 1 “Step”; for each “Step”: 0 to n “Work task”.
  • Work task — has — Task owner: for each “Task owner”: exactly 1 “Work task”; for each “Work task”: 0 or 1 “Task owner”.
  • Stakeholder — holds — Task owner: for each “Task owner”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “Task owner”.
  • Stakeholder — writes (author) — User story: for each “User story”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “User story”.
  • User story — designates — Stakeholder: for each “Stakeholder”: 0 to n “User story”; for each “User story”: 0 to n “Stakeholder”.
  • User story — tells — Story of a cited object: for each “Story of a cited object”: exactly 1 “User story”; for each “User story”: 0 to n “Story of a cited object”.
  • Stakeholder — owns — Target: for each “Target”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “Target”.
  • Stakeholder — owns — Source: for each “Source”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “Source”.
  • Stakeholder — owns — Component: for each “Component”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “Component”.
  • Stakeholder — owns — TB (transformation block): for each “TB (transformation block)”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “TB (transformation block)”.
  • Stakeholder — owns — LB (load block): for each “LB (load block)”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “LB (load block)”.
  • Stakeholder — owns — Application: for each “Application”: exactly 1 “Stakeholder”; for each “Stakeholder”: 0 to n “Application”.
  • Story of a cited object — about — Source: for each “Source”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Source”.
  • Story of a cited object — about — Extraction batch: for each “Extraction batch”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Extraction batch”.
  • Story of a cited object — about — Component: for each “Component”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Component”.
  • Story of a cited object — about — TB (transformation block): for each “TB (transformation block)”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “TB (transformation block)”.
  • Story of a cited object — about — LB (load block): for each “LB (load block)”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “LB (load block)”.
  • Story of a cited object — about — Cut-off: for each “Cut-off”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Cut-off”.
  • Story of a cited object — about — Prior preparation: for each “Prior preparation”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Prior preparation”.
  • Story of a cited object — about — Constraint of an own type: for each “Constraint of an own type”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Constraint of an own type”.
  • Story of a cited object — about — Application: for each “Application”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Application”.
  • Story of a cited object — about — Step: for each “Step”: 0 to n “Story of a cited object”; for each “Story of a cited object”: exactly 1 “Step”.

Frequently asked questions

Why is a task not entered?

Because it is deduced from the steps: what switches on, switches off, is loaded or prepared on each. Only its owner is chosen; the rest follows the input.

What happens to a deleted object?

It disappears, along with what only lives through it: its sub-components, its links on the steps, its citation in user stories. A deletion that would leave an object without what it requires is refused, and the window says why.

Does the model change from one version to the next?

It grows without breaking existing sessions: a saved session can always be read again. The diagram on this page comes from the same declaration the application checks at each version.

Can a database be described without detailing its tables?

Yes: the “Database” data type describes the component as a whole; its tables can be detailed later, as sub-components, if the mapping needs it.

How do I know whether a migration model is complete?

By deriving the migration script from its concepts alone: Dashboard, Migration script writes it, from extraction to switchover. Whatever prevents it is named as a missing piece, with the phase it blocks.