Adding a new column is one of the most common schema changes in any database. It can improve flexibility, accommodate new features, or store fields critical to downstream systems. But when the database is already in production, the wrong approach can lock tables, break queries, or drop performance under load.
The first question is scope. Will the new column be nullable or have a default value? Setting a default on a large table can trigger a full table rewrite. Nullable columns avoid that cost, but may push complexity into the application layer. Consider schema migrations that write backfill data in stages instead of a single blocking operation.
Next, choose the right migration strategy. Online schema change tools let you add a column with minimal downtime, even on terabyte-scale databases. For PostgreSQL, ALTER TABLE ADD COLUMN is fast for nullable columns with no default; for MySQL, pt-online-schema-change or native ALGORITHM=INPLACE can keep services live during the update.