SpinTheMic
Pro

Interview practice question

Moving a table out of a shared database

Backend Engineering · Microservices · Intermediate

The billing service still reads the users table directly from the monolith's database. How do you migrate it to its own data without downtime?

What a strong answer covers

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

  • Expose API or events from owner.
  • Billing builds own copy via events/CDC.
  • Backfill historical data.
  • Dual-read and compare.
  • Cut over, remove DB access.
Practise this topic

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

See all topics