Adding a new column sounds simple. In production, it’s often a knife-edge operation. Schema changes can block writes, lock tables, or break downstream jobs. Choosing the right method matters: ALTER TABLE for fast, simple additions; online schema migration tools for large datasets; feature flags for safe rollouts; and backfill scripts that avoid hammering the database.
A new column changes more than the schema. You must update every code path that reads or writes the table. An unused column is wasted storage; a partially used one is a lurking bug. Test the change in a staging environment with production-sized data. Validate migrations against load, latency, and error budgets.
For relational databases, watch the size and type of the new column. Adding a column with a default value can rewrite the whole table. In Postgres, ADD COLUMN without a default is almost instant, but defaults trigger a full table rewrite. In MySQL, some alterations lock the table unless you use ONLINE DDL.