Reshaping eight million documents, live
The old MongoDB schema was working but groaning. I rewrote it for the way we actually queried, and migrated 8M+ docs to the new shape during a single 8-hour cutover. No downtime, queries 70% faster the morning after.
8M+ documents migrated, zero downtime.