DSA Factory
Free Keys, ER and normalization lessonsKeys, ER and normalization · Stage 3 · Normal forms · Step 3

When to denormalize

The cost of joins against the cost of redundancy, and the patterns teams use to break normal forms safely. About 12 minutes.

Quick check

Which situation justifies storing a copy of a column in another table?

  1. AA measured read bottleneck, on data that changes rarely, with a defined way to keep the copy in sync
  2. BAlways, to avoid joins
  3. CThe column is updated constantly and read rarely
Show the answer

A measured read bottleneck, on data that changes rarely, with a defined way to keep the copy in sync. Read gain against a small, controlled write cost.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve