Interview practice question
Cassandra partitions grow too big
System Design · Databases · Experienced
Your Cassandra table partitioned by user ID works well, but a few power users have partitions of several GB, causing timeouts. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Large partitions hurt reads and compaction.
- Add a bucket to partition key (user + month).
- Limit partition size target (<100 MB).
- Query across buckets as needed.
- Migrate data gradually.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.