Adding a new column can be trivial or it can earn downtime. The difference is in how you design, deploy, and migrate your schema. A careless ALTER TABLE locks writes, burns CPU, and blocks transactions. A strategic migration keeps the system online and users unaware anything changed.
Start with purpose. Define the new column type, constraints, and defaults. Avoid adding a NOT NULL constraint with no default on large tables; it will force a full table rewrite. If you need a default value, add it in a separate, lightweight step, then backfill data incrementally.
Plan your migration path. Use tools that apply schema changes in small, reversible steps. On PostgreSQL, consider ADD COLUMN without immediate defaults, then update rows in batches. On MySQL, assess whether the storage engine supports instant DDL. Always test migrations on production-like datasets before shipping.