🧹 Data & Database Design · Data & Databases
Normalization
Reduce unnecessary duplication in relational data.
Store a fact in the appropriate place rather than repeating it everywhere.
Store the customer's address once rather than copying it into every unrelated table unless history requires a snapshot.
💡 Like keeping one master phone list instead of scribbling the same number on a dozen sticky notes that all go stale.
💡 Why it matters
When a fact is copied in many places, updating it in one place and missing the others leaves the data contradicting itself. Normalization gives each fact a single home, so there is one truth to update. It keeps data consistent and storage lean, though some reporting cases deliberately keep a snapshot.
🛠️ How to achieve it
⚠️ Signs of trouble
- •Changing one fact means editing many rows by hand.
- •The same value appears slightly different in different places.
- •Tables mix unrelated information in one row.
- •Updates frequently leave contradictory data behind.
🎯 Quick check
Score: 0/3Three questions to test the idea.
1. What is the main goal of normalization?
Answer: Give each fact a single home to avoid contradictions
Normalization stores each fact once, so there is one truth to update and data cannot contradict itself.
2. When is deliberately keeping a copy (a snapshot) reasonable?
Answer: When history matters, like the address at order time
A snapshot is justified when you must record how data looked at a moment, such as the shipping address on a past order.
3. What is a symptom of poorly normalized data?
Answer: Updating one fact requires editing many rows by hand
If one change means hunting through many copies, the fact has too many homes — a classic duplication problem.
