Adding a new column in a production database seems trivial on paper. In reality, it can be one of the most dangerous schema changes you make. The wrong approach can lock tables, spike query latency, or bring critical workflows to a halt. Speed matters, but so does precision.
First, determine the exact purpose of the new column. Define its type, constraints, default values, and whether it will allow nulls. This is not optional. Every unanswered detail increases risk later.
Second, review data size and indexing. On small tables, a simple ALTER TABLE ... ADD COLUMN might be fine. On large tables with millions of rows, this can block reads and writes. Consider online schema change tools such as pt-online-schema-change or native database features that support non-blocking column additions.
Third, plan your rollout. Introduce the column first without changing application code paths. Once the column exists, deploy application updates that begin writing to it. Populate historical data with a backfill job that runs in controlled batches to prevent lock contention and I/O spikes.