Adding a new column in a database looks simple, but the details decide whether you ship fast or fight downtime. Schema changes touch storage, indexing, replication, and application code. Get it wrong, and you risk locking tables or throwing errors through an entire stack.
In PostgreSQL, a plain ALTER TABLE ADD COLUMN is cheap if the column has no default or if the default is NULL. But adding a non-null default rewrites every row, which can lock large tables for long periods. MySQL behaves differently, depending on version and engine. Know these paths before you run them in production.
Plan for backward compatibility. Introduce the column with a safe default or nullability. Update code to handle new data without breaking old queries. Deploy in steps: schema change first, then application logic. Test in staging against production-sized data. Monitor for replication lag and slow query spikes.