Adding a new column is one of the most common schema changes. Done right, it feels instant. Done wrong, it stalls deployments, blocks queries, or corrupts data. The difference is in the plan.
First, define the purpose of the column. Decide the data type, the default value, and whether it allows nulls. Avoid guessing; changes at scale carry real cost.
Second, choose the migration method. In PostgreSQL, ALTER TABLE ADD COLUMN works well for most cases. In MySQL, adding a column can lock the table, so use online DDL when possible. For large datasets, break the change into phases—create the column empty, backfill in small batches, and then enforce constraints.