Adding a new column to a database table should be simple. In practice, it can be slow, dangerous, and full of risk. On production systems with large datasets, a naive ALTER TABLE ADD COLUMN can lock writes, block reads, and cause downtime. The shape of your schema matters as much as the code that depends on it.
A new column is not just another field. It changes indexes. It can affect query plans. It can increase storage costs. If you add a column with a default value, the database may rewrite the entire table. On some engines, that operation will have cascading impact on replication lag and failover.
For transactional systems, the safest path is an online schema migration. Tools like pt-online-schema-change or gh-ost can add a new column without blocking queries. They copy rows to a shadow table, apply changes, then swap it in. This keeps throughput steady. But it comes at the price of more complexity, more moving parts, and the need for careful monitoring.