Adding a new column is a simple command in theory. In practice, it can be the hinge that changes your schema, your queries, and your performance profile. A well-chosen column shapes the way you store, join, and retrieve. A careless one can slow everything down.
First, define the purpose. Will the new column store computed values, user data, or system metadata? Decide on type, precision, and nullability before you touch the database. Small choices here ripple through indexes, constraints, and storage.
Next, update your schema. For SQL databases, use ALTER TABLE to add the column. In PostgreSQL:
ALTER TABLE orders ADD COLUMN shipped_at TIMESTAMP;
For NoSQL systems, schema evolution depends on the specific platform. Some allow dynamic fields while others require explicit migrations. In distributed setups, new columns can add load to serialization and deserialization steps.