Adding a new column seems simple. In practice, it can expose weaknesses in schema design, trigger downtime, or slow queries if done without care. Choosing the right method depends on your database engine, table size, and operational constraints.
In PostgreSQL, ALTER TABLE ... ADD COLUMN runs fast when adding nullable or default-null fields. For large datasets with non-nullable defaults, the operation can lock the table. Use ADD COLUMN with a default only when the write lock is acceptable, or consider backfilling in batches.
MySQL handles new columns differently. Adding a column can be online with ALGORITHM=INPLACE, depending on the storage engine and column position. Place new fields at the end of the table to maximize compatibility with online DDL. Avoid column reordering to reduce risk.