SpinTheMic
Pro

Explain it in 60 seconds

Compound vs interleaved sort keys

Data Engineering · Redshift · Intermediate

What is the difference between compound and interleaved sort keys?

What a strong answer covers

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

  • Compound sort keys sort by columns in order, like date then region.
  • Most effective when filters use the leading column.
  • Interleaved sort keys give equal weight to each column.
  • Interleaved has high maintenance cost and is rarely recommended now.
  • AUTO sort keys are a good default.
Practise this topic

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

See all topics