Adding a new column should be simple, but in production it is never trivial. A small schema change can lock tables, break queries, and trigger expensive migrations. The right approach depends on your database engine, the size of your table, and your uptime requirements.
In PostgreSQL, ALTER TABLE ... ADD COLUMN defaults to an instant metadata change when you set a default of NULL. Adding a non-null default forces a table rewrite. That rewrite can block reads and writes on large datasets. For MySQL, especially older versions, ALTER TABLE ADD COLUMN can copy the entire table unless you use ALGORITHM=INPLACE or ALGORITHM=INSTANT when supported.
Before creating a new column, check replication lag. Schema changes can stall replicas. In sharded systems, roll out changes gradually and verify query plans. Avoid backfilling data in a single transaction. Instead, stage backfills in batches to reduce load and lock duration.