Back to Topic 3.2 — Database design
3.2.7Computer Science SL5 flashcards

Denormalisation

Practice Flashcards

Flip to reveal answers
Card 1 of 53.2.7
3.2.7
Question

What is denormalisation?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Denormalisation

Sign up free to track progress and get spaced-repetition review schedules.

Card 1definition

Question

What is denormalisation?

Answer

Deliberately storing some data more than once so that reads need fewer joins and run faster. It is a considered engineering trade, not a mistake.

Card 2comparison

Question

What does denormalising gain and what does it risk?

Answer

It gains faster reads and simpler queries. It risks the same fact being stored in two places and disagreeing, requires every update to find every copy, and brings back insert and delete problems.

Card 3concept

Question

When is denormalising justified?

Answer

When data is read far more often than it is written — reports, dashboards and data warehouses that are loaded in bulk and then only read. Never for frequently-written data such as bookings or stock levels.

Card 4process

Question

How should the risk of denormalising be managed?

Answer

Keep the normalised tables as the authoritative source and rebuild the denormalised copy from them, so there is always one correct version to fall back on.

Card 5concept

Question

Why should you normalise before denormalising?

Answer

Because you should design in 3NF, run it, and find out where it is actually slow. Denormalising before a measured problem exists gives away correctness for a speed gain you cannot demonstrate.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free