A new column changes a table forever. One command, and the schema shifts. Data lives differently after that moment.
Adding a new column in SQL is simple to write but never simple to deploy at scale. The wrong move locks queries, breaks APIs, or burns hours of incident time. The right move blends precision, timing, and understanding of how your database engine handles schema changes.
Most relational databases use ALTER TABLE to add a column. In PostgreSQL, adding a nullable column without a default is fast. It updates only the metadata, and the new column exists instantly for all rows. But add a default value, and it rewrites the whole table, which can cause long locks on large datasets. In MySQL, performance depends on the storage engine, version, and whether "instant"DDL is supported. For production traffic, always measure in staging before executing on the live system.