Adding a new column to a table looks simple. One line of SQL. One schema migration. But the surface hides depth—execution plans, table locks, disk writes, replication lag. Missteps at scale cost uptime, consistency, and trust.
The first decision: ALTER TABLE in place, or create a new table and backfill. In-place on small tables is fast. On large datasets, it can block reads and writes for long periods, impacting application performance. Some systems offer instant metadata-only column adds, but many still rewrite the table.
Plan the column definition for accuracy and efficiency. Pick the narrowest data type. Avoid nullable if not required; defaults can reduce null-handling logic later. Index decisions belong to a separate step—indexes are expensive during creation and can double the write workload.