SpinTheMic
Pro

Interview practice question

Migrating from single DB to sharded DB

System Design · Databases · Experienced

You need to move a 10 TB single-node database to a sharded setup while traffic continues. Outline the plan.

What a strong answer covers

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

  • Add routing layer first (still one shard).
  • Choose key; create logical shards.
  • Copy data + CDC per shard.
  • Verify with checksums and shadow reads.
  • Cut over shard by shard.
Practise this topic

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

See all topics