Lesson 2.1

Normalisation and when to break it

Normalising removes duplicated truth. Denormalising trades that safety for read speed, and should be a decision rather than an accident.

Duration
4m
Level
Intermediate
Students
10k students

Overview

Normalising removes duplicated truth. Denormalising trades that safety for read speed, and should be a decision rather than an accident.

In this lesson you will:

  • Remove duplicated data and update anomalies
  • Recognise when denormalisation is justified
  • Model many-to-many relationships properly

Resources

PostgreSQL documentation

The official reference for the tools used in this lesson.