SpinTheMic
Pro

Interview practice question

SCD2 with too many versions

Data Engineering · Data Modeling · Intermediate

A product dimension with SCD2 has exploded to 50 million rows because a "last price check" timestamp changes daily. How do you fix the design?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Not every attribute needs history.
  • Exclude volatile technical columns from change detection.
  • Move rapidly changing attributes to a mini-dimension or a separate fact.
  • Rebuild the dimension with correct tracking rules.
  • Reassign fact keys if needed.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics