Adding a new column should be simple, but in production systems it can be a breaking change if handled carelessly. Databases lock tables. Queries break. APIs returning the old schema crash. Every second of downtime matters, and every migration carries risk.
A new column in SQL or NoSQL is more than an extra field. It changes how data is stored, retrieved, and validated. You have to choose the right data type. You need to decide on NULL handling, default values, indexing, and whether the column impacts constraints. Wrong choices lead to slow queries, inconsistent data, or blocked deployments.
In relational databases like PostgreSQL or MySQL, adding a new column without a default is often fast, but setting a default on millions of rows can lock the table. Online schema change tools like gh-ost or pt-online-schema-change can mitigate this. In columnar stores, adding metadata only can be instant, but populating values may still require heavy processing.