A new column can look simple, but in production it can break performance, block writes, or stall critical systems. Schema changes are a common trigger for incidents. Modern databases give you tools to make them safer, but they still require intent and precision.
When adding a new column, first choose the right data type. Wrong types cause later migrations, which double the risk. Set sensible defaults that match existing logic. If the column cannot be null, plan the backfill before the alter statement.
For large datasets, use online schema changes. In MySQL, tools like gh-ost or pt-online-schema-change can create the new column with minimal locking. In PostgreSQL, adding a nullable column without a default is fast, but adding a default value rewrites the table, so split the steps.
Index only after the column is populated. Creating an index first can block inserts or delay replication. For distributed databases, confirm the migration plan works across nodes, and watch CPU and I/O during the change.