Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DA 1.21: The data life cycle: prepare and run

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

55 minutes

Data has a life

A club list is made in January. In March it moves to a new system. By summer it is shared with a partner. Next year it is archived. Later it must be destroyed.

Data is not just stored. It lives through stages, and each stage has its own jobs and risks.

Key words

WordWhat it meansExample
Life cycleThe stages data goes through, from its start to its end.Make, use, archive, destroy
DatasetA collection of related data kept together.The member list
DatabaseA store of organised data that a program can search.A member table
Data modelA plan of what data is held and how the parts connect.Members link to loans
MigrationMoving data reliably from one system to another.Old sheet to a new database
GovernanceThe rules and checks for how data is handled.Who may edit the list
Access controlGranting or removing a person's access to data.A new helper gets read access
Version controlKeeping and recording each version of a dataset.Version 3, 1 March
Retention policyA rule for how long data is kept, to meet law and business needs.Keep for six years
BackupA spare copy kept so data can be restored after a loss.A nightly copy

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can name the preparation and operations stages of the data life cycle and say what happens in each.

Starter: what you already know

Have a go

Starter: what you already know

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Stage one: preparation

PartWhat it meansExample
DesignChoose the dataset type and data model for the needA table of members and loans
MigrationMove data reliably from one source to anotherOld sheet to new database
Creation or acquisitionMake the data, or get it from a third party, with consent for useA sign-up form with consent

The cells students fill in are left blank in this preview.

Stage two: operations

PartWhat it means
Governance: access controlGrant or remove access when it is right to
Governance: security and privacyKeep data safe and secure
Governance: version controlKeep and record each version
Governance: retention policyFollow the legal and business keep time
Storage, usage, maintenanceKeep it, use it, tidy it
Share, backup, restorationPass it on, copy it, bring it back after a loss

The cells students fill in are left blank in this preview.

Try it: find the latest version

Code: sql
select dataset, max(version) as latest
from versions
group by dataset
order by dataset;

-- Try it: add max(saved_on) as saved to the list.

A common mistake

Warning

Many people think a backup is the same as restoration. A backup is a copy. Restoration is the job of bringing it back. A backup you have never restored may not work. Test it.

The lesson goes on

2 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.