SpinTheMic
Pro

Interview practice question

Database costs are huge for old data

System Design · Databases · Experienced

Your main Postgres cluster costs a lot, and 80 percent of its data is older than a year and rarely read. How would you restructure storage?

What a strong answer covers

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

  • Partition by time.
  • Move old partitions to cheaper store (warehouse/lake).
  • Keep queryable via federation or API.
  • Shrink primary cluster.
  • Define retention policy with business.
Practise this topic

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

See all topics