The table is broken. You know it the moment a query returns gaps, mismatched data, or unreadable joins. The fastest fix is often the simplest: add a new column.
A new column changes the shape of the data model. It can store computed values, track states, or store metadata that eliminates costly lookups. In relational databases like PostgreSQL or MySQL, adding a column is direct:
ALTER TABLE orders ADD COLUMN shipped_at TIMESTAMP;
This command modifies the schema instantly in most cases, but large datasets demand caution. Schema changes can lock tables, block writes, and slow reads. In production, adding a new column should align with migration strategy, testing, and backup policy.
For NoSQL systems, a new column appears as a new field in each document. In MongoDB, you can set it on insert or update without an explicit schema migration. Still, consistency matters—uncontrolled growth of fields leads to fractured queries and unpredictable performance.