SpinTheMic
Pro

Interview practice question

One slice doing all the work

Data Engineering · Redshift · Intermediate

A query is slow, and you find one slice processing most of the rows. What's wrong and how do you fix it?

What a strong answer covers

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

  • Distribution key skew puts too many rows on one slice.
  • Check SVV_TABLE_INFO skew_rows.
  • Often caused by NULLs or low-cardinality keys.
  • Change distribution key, use EVEN, or AUTO.
  • Handle NULL keys separately.
Practise this topic

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

See all topics