SpinTheMic
Pro

Interview practice question

Big aggregation spilling remotely

Data Engineering · Snowflake · Experienced

A nightly aggregation job spills hundreds of GB to remote storage and runs for 3 hours. How do you fix it?

What a strong answer covers

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

  • Remote spilling means memory and local disk were both exhausted.
  • Reduce data early: filter, select fewer columns, pre-aggregate before joins.
  • Break the job into smaller steps or process by date ranges.
  • Try a larger warehouse for this job only and compare total credits.
  • Check for skewed or exploding joins.
Practise this topic

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

See all topics