Adding a new column sounds simple. It is not. When production traffic is live and queries run at scale, changing a table can lock writes, stall reads, or cause cascading failures. The difference between a safe migration and a 2 a.m. rollback is knowing the right method.
A new column in SQL can be added with ALTER TABLE. But the implementation matters. On large tables, this command can block until the database completes a full table rewrite. Some engines, like PostgreSQL with certain column types, can add columns instantly with default NULL values. Others require more care.
For MySQL and MariaDB, tools like gh-ost or pt-online-schema-change create new table structures and copy data in the background, allowing you to add columns without downtime. In systems like BigQuery or Snowflake, schema changes are logical and take effect without blocking, but there are still downstream changes in ETL and analytics pipelines to manage.