A new column changes the shape of your data. In SQL, the ALTER TABLE ... ADD COLUMN command is the standard. On small datasets, it runs fast. On large, high-traffic tables, it can be dangerous without planning. You need to consider schema migration strategies that avoid downtime.
Plan the data type carefully. Once a new column is added, changing it later can cause expensive operations. Specify DEFAULT values when they make sense, but avoid defaults that trigger a full table rewrite if the engine requires it. For nullable columns, decide on NULL vs. NOT NULL before deployment.
Indexing a new column can speed up queries, but creating an index on a massive dataset can freeze writes. Use online index creation if your database supports it, or create the column first and backfill in controlled batches. For PostgreSQL, tools like CONCURRENTLY can limit lock impact. For MySQL, ALGORITHM=INPLACE can help, but test in staging.