Adding a new column in modern databases is not just an ALTER TABLE command—it’s about understanding storage engines, indexing costs, and the impact on live queries. The way you add it determines whether your system stays fast or locks under load.
In PostgreSQL, ALTER TABLE ADD COLUMN is usually instant for nullable columns without defaults. But a default value triggers a full table rewrite unless you use the DEFAULT clause with care in recent versions. In MySQL, adding a column can still lock the table depending on engine and configuration. For production workloads, online schema change tools like pt-online-schema-change or native ALGORITHM=INPLACE options reduce risk.
For analytical warehouses like BigQuery or Snowflake, adding a new column is metadata-only. But downstream pipelines, transformations, and BI tools must handle the new field gracefully. The schema may be flexible, but the integrations are brittle.