Interview practice question
Query slowed as table grew
Data Engineering · Snowflake · Intermediate
A query that took 2 minutes a year ago now takes 25 minutes. The table has grown to 5 TB. How do you investigate?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Open the query profile and find the most expensive node.
- Check partitions scanned vs total, poor pruning is the usual cause.
- Check for spilling and exploding joins.
- Check clustering on the main filter columns.
- Compare against the old run if query history is still available.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.