Database Migrations at Scale: Zero-Downtime Schema Changes and What Companies Actually Do
Why Migrations Break A migration that runs in 200ms on your local machine takes 30 minutes on the production table with 50 million rows. During those 30 minutes, your ALTER TABLE holds a lock that...