Adding a new column sounds simple. In reality, schema changes can stall deployments, lock tables, or block traffic. The process must be deliberate. You need to weigh database engine behavior, table size, indexes, constraints, replication lag, and rollback plans before you run ALTER TABLE.
First, confirm why the new column is needed. Scope matters. Is it a nullable field for an experiment? A non-null column with a default value? Understanding this defines your migration plan. Adding a nullable column is usually fast. Adding a non-null with a default can trigger a full table rewrite on some engines.
In PostgreSQL, ALTER TABLE ADD COLUMN is metadata-only for nullable columns without defaults. This is nearly instant. In MySQL, behavior depends on the storage engine and version. Large InnoDB tables can lock for the duration of the rewrite if the server lacks instant DDL support. In distributed systems, you must coordinate schema changes across shards, replicas, and services that read or write the table.