---
answer: direct
beat: system-design
source: 1 article · updated: November 17, 2026
---

What does 'draining' mean in this migration, and why was it necessary?

Draining means moving tenant databases off an RDS instance before conversion, specifically to bring its file count down to a level Aurora can enumerate within its startup timeout. Since reducing files per database wasn't practical (Jira's schema needs its full complexity to function), and Aurora's timeout couldn't be changed, reducing the number of tenant databases per cluster was the only lever left to solve the startup failure.

Answered in

The Migration Trick That Moved 4 Million Databases Without a Bigger Fleet

Atlassian couldn't provision enough spare capacity to migrate 4M Jira databases at once. So they made the migration feed itself — a daisy chain, not a fleet.

Crashtech Editorial November 17, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.