All Questions
Scaling Reads medium

You denormalize your schema by storing `User_Name` inside the `Comments` table to avoid joins. What is the new maintenance burden?

  1. A Queries become slower.
  2. B You must execute a 'Write Fan-Out': When a user changes their name, you must find and update every single comment they ever wrote.
  3. C The table size decreases.
  4. D You cannot use indexes.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions