SpinTheMic
Pro

Explain it in 60 seconds

Surrogate keys vs natural keys

Data Engineering · Data Modeling · Beginner

What is the difference between a surrogate key and a natural key, and why use surrogate keys in a warehouse?

What a strong answer covers

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

  • A natural key comes from the source, like customer number or email.
  • A surrogate key is generated by the warehouse, like an integer or hash.
  • Surrogate keys protect against source key changes and reuse.
  • Needed for SCD Type 2, where one natural key has multiple versions.
  • Allow combining multiple sources with overlapping IDs.
Practise this topic

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

See all topics