The table was failing. Data was stuck in place, reports missing the fields that mattered, and every query felt slower than the last. You needed a new column, but the stakes were higher than a quick schema tweak.
A new column changes the shape of your data. It alters indexing, query plans, and the behavior of every dependent process. In SQL, adding a column seems simple:
ALTER TABLE orders ADD COLUMN tracking_url TEXT;
But under the hood, different databases handle it in different ways. PostgreSQL can add most new columns instantly if they have no default or constraints. MySQL locks the table unless running in versions and configurations that support instant DDL. For production data sets in the terabyte range, a careless ALTER TABLE can block writes, spike replication lag, or trigger full table rewrites.
Before adding the new column, confirm its exact type and check whether it needs a default. Defaults on large tables can cause disk churn. Nullable columns without defaults are safer for live systems. If constraints are required, add them after the column is in place to avoid downtime.