Quick revision
The short answer
Normalization exists to prevent update anomalies in data that is shared and changes, and that problem is the same in a document store or an event log as in a relational database. So I explain it as one principle: every fact has exactly one place of truth, and any number of derived copies are fine as long as each has a known source and refresh rule. The normalized core holds systems of record; read models, caches, search indexes, analytics tables and event payloads are deliberately denormalized copies.
What to remember
In this answer, we separated normalization's goal, preventing update anomalies in shared mutable data, from its 1970s technique, and saw that the goal is unchanged by new storage engines. Systems of record keep a normalized core; read models, caches, search indexes, analytics and event payloads are denormalized copies derived from it; and document stores turn the question into aggregate design. The principle 'one place of truth per fact, any number of derived copies with known refresh rules' lets teams apply this in any technology.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
Normalization exists to prevent update anomalies in data that is shared and changes, and that problem is the same in a document store or an event log as in a relational database. So I explain it as one principle: every fact has exactly one place of truth, and any number of derived copies are fine as long as each has a known source and refresh rule. The normalized core holds systems of record; read models, caches, search indexes, analytics tables and event payloads are deliberately denormalized copies.
Background to this question
Engineers who grew up with document databases and streaming often see normalization as a relic of expensive disks, and engineers who grew up with relational databases sometimes apply it where it does not help. Both views cause incidents: duplicated customer data that drifts, or reporting queries that join twelve tables at peak load. A senior engineer is asked this question to see whether they can give an organization a rule that survives technology changes. In this answer, we will restate what normalization really protects against, show where that still matters, show where denormalized copies are the right design, see how document stores move the decision rather than remove it, and end with the principle and how to roll it out.
1What Normalization Actually Protects Against
It helps to separate the goal from the technique. The technique, normal forms from first to BCNF, comes from relational theory in the 1970s. The goal is older and simpler: if the same fact is stored in two places, a change can reach one place and not the other, and then the system disagrees with itself. That is called an update anomaly. Normalization removes it by storing each fact once and referencing it everywhere else.
Notice that nothing in that goal mentions disk prices or SQL. Storage got cheap, so the space argument for normalization is mostly gone, but the consistency argument is unchanged. A customer's address stored in five services still has to be changed in five places, and the sixth copy that someone forgot is still the one the courier uses.
2Where a Normalized Core Is Still the Safe Default
Normalization matters most where data is mutable, shared and written by many paths: accounts, balances, orders, inventory, entitlements, customer identity. These are systems of record, the place the company goes to answer 'what is true right now'. Here a mistake costs money or trust, many writers touch the same facts, and the database's constraints (foreign keys, unique keys, checks) only work well when each fact has one home.
For these I would tell teams that a normalized relational model is the default, and departing from it needs a reason written down. That is not because document stores cannot hold them, but because the cost of a drifting copy is highest exactly where the data is most shared.
3Where Denormalized Copies Are the Right Design
Most data a modern system serves is not the system of record. It is a view built for one access pattern. A search index flattens product, category and price into one document so a query can filter on all three. A cache stores a rendered profile. An analytics table copies order facts into a wide star schema for fast aggregation. An event payload carries the customer's name at the time of the order so consumers do not have to call back.
These are denormalized on purpose, and that is fine, because they are derived. If we lose one, we rebuild it from the source. If it is stale, the impact is bounded by its refresh rule. The mistake is not denormalization; it is a copy that nobody knows is a copy.
- Systems of recordNormalized tables, constraints, one home per fact
- Change streamOutbox events or CDC from the database log
- Read models and cachesShaped per screen, refreshed in seconds
- Search indexesFlattened documents, rebuilt from the stream
- Analytics and warehouseStar schemas, refreshed hourly or daily
5 layers, from the top down. Step through them one at a time.
Everything below the first layer can be thrown away and rebuilt from it.
4Document Stores Move the Decision, They Do Not Remove It
In a document database the question becomes aggregate design. An aggregate is a cluster of data that changes together and is loaded together, such as an order with its lines and shipping address. Putting those in one document is not a normalization failure; the lines belong to exactly one order and are always updated with it, so there is only one copy of each fact.
The rule that carries over is: what changes together lives together, and data owned by something else is referenced by id. If we embed the full product description inside every order document, a product rename means rewriting millions of orders, which is the update anomaly again in a new form. Embedding the product name as a snapshot at order time is fine, because that is a different fact: what the customer saw when buying. So the question we teach is not 'embed or reference' but 'is this a fact owned here, a snapshot of the past, or a copy of someone else's current data?'
5The Principle and How to Roll It Out
I would give the organization a one-line principle: one place of truth per fact, any number of derived copies with known refresh rules. It works in Postgres, MongoDB, Kafka and the warehouse alike. Then three questions for every design review: where is the source of truth for each fact this service stores, which stored fields are copies, and for each copy, how is it refreshed and how stale can it be?
To make it stick, I would pair the principle with examples from our own incidents (a stale price in search, an email changed in one service but not another), add the three questions to the design review template, and offer the platform pieces that make derived copies cheap to do right, such as an outbox library and a CDC pipeline. People adopt a principle faster when the right way is also the easy way.
- Is this service the owner of the fact?YesStore it normalized hereNoIt is a copy
- Is it a snapshot of a past moment?YesStore it, never update itNoIt is a cache of current data
- Is the refresh rule written down?YesAccept, with a freshness targetNoAsk for source, owner and refresh
3 steps in order. Play them, or step through them one at a time.
6Follow-up questions
Is normalization still worth teaching to engineers who only use document databases?
Yes, but framed as dependency thinking rather than normal forms. Knowing what determines what, and therefore what must change together, is exactly what aggregate design needs. Engineers who understand update anomalies design better documents, because they can tell an owned fact from a copy and a snapshot.
Doesn't event sourcing make normalization irrelevant?
No, it changes where it applies. The event log is the source of truth and each event records one fact once, which is a normalized idea. The projections built from it are denormalized read models. Teams get into trouble when they put the same mutable fact into many event types and then disagree about which one is current.
How do you handle a team that wants to denormalize the system of record for performance?
I ask for the measurement first: query plans, indexes and caching usually solve it. If a copy is still needed, it is treated like any other derived copy, with an owner, an update path in the same transaction or by event, and a reconciliation check.
7Conclusion
In this answer, we separated normalization's goal, preventing update anomalies in shared mutable data, from its 1970s technique, and saw that the goal is unchanged by new storage engines. Systems of record keep a normalized core; read models, caches, search indexes, analytics and event payloads are denormalized copies derived from it; and document stores turn the question into aggregate design. The principle 'one place of truth per fact, any number of derived copies with known refresh rules' lets teams apply this in any technology.
Open with
I would start by separating the goal from the technique. Normal forms are 1970s theory, but the goal is simple and timeless: if the same fact lives in two places, an update can reach one and miss the other, and then the system contradicts itself.
Then, if they want more
Cheap storage removed the space argument, not the consistency one. So for systems of record with many writers, things like accounts, orders, inventory and customer identity, I would keep a normalized relational core as the default, because that is where a drifting copy costs money. At the same time I would tell people that denormalization is not a sin.
Read models, caches, search indexes, warehouse tables and event payloads are deliberately denormalized, and that is right, because they are derived: we can rebuild them, and their staleness is bounded. Document databases do not remove the question, they move it to aggregate design.
What changes together lives together in one document, and data owned elsewhere is referenced, or copied as a snapshot if we mean the value at that moment. Then I would give one principle everybody can apply in any technology: one place of truth per fact, any number of derived copies with a known source, owner and refresh rule.
I would add three questions to design reviews and back them with an outbox library and CDC so the right way is the easy way.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- PostgreSQL documentation, MySQL reference manual
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Normalization theory dates from the 1970s, and today many teams use document databases...": https://scrivio-interview-library.netlify.app/databases/data-modeling/04db2346ee/