SpinTheMic
Pro

Explain it in 60 seconds

Sort keys in Redshift

Data Engineering · Redshift · Beginner

What is a sort key in Redshift and how does it improve performance?

What a strong answer covers

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

  • Sort keys define the order in which rows are stored on disk.
  • Redshift keeps min and max values per block in zone maps.
  • Queries filtering on sort key columns skip blocks that can't match.
  • Common choice: date or timestamp columns used in filters.
  • AUTO sort key lets Redshift choose.
Practise this topic

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

See all topics