SpinTheMic
Pro

Interview practice question

Clustering cost too high on updated table

Data Engineering · Snowflake · Experienced

Automatic Clustering on an update-heavy orders table is costing more than the queries it speeds up. What do you do?

What a strong answer covers

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

  • Frequent updates across all key values keep breaking clustering, causing constant reclustering.
  • Check AUTOMATIC_CLUSTERING_HISTORY and query performance before and after.
  • Change the key to something lower cardinality, like date instead of timestamp.
  • Separate hot recent data from cold history.
  • Suspend clustering if natural load order gives enough pruning.
Practise this topic

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

See all topics