A new column alters storage layout, indexes, and query plans. In production, it can lock tables, block writes, and cause downtime if handled without care. At scale, the choice of type, constraints, and default values matters. Even a NULL default carries cost in replication and backup systems.
Plan the change. First, inspect how the new column will be used. Reads only? Writes only? Both? Choose data types that match usage exactly. Avoid over-allocating space. Keep indexes minimal in the first deployment. You can add them later.
For large tables, use an online schema change tool. MySQL has pt-online-schema-change or gh-ost. PostgreSQL can add columns instantly if no default is set. If a default is needed, set it in application code before enforcing it in the database to avoid table rewrites.
Test migrations in an environment with production-scale data. Watch query performance before and after the change. Automation should detect anomalies. Logs should capture schema versions for every deployment.