The migration was running hot when the issue hit: you needed a new column in production, fast, without locking the table or breaking the app.
Adding a new column sounds simple—until you’re dealing with billions of rows, live traffic, and zero downtime requirements. In modern databases, altering schema at scale is one of the most precise operations you can run. A poorly planned ALTER TABLE can stall writes, spike CPU, and force an unplanned outage.
A new column should not mean risk. The right approach starts with knowing your database engine’s DDL behavior. Postgres, MySQL, and cloud-native variants handle schema changes differently. Some add metadata instantly. Others rewrite the table. You must check if the operation is blocking, if it triggers a table copy, and how it affects indexes and replication.