Adding a new column to a database table is trivial in syntax, but the tradeoffs are real. Schema changes can lock tables, block writes, and impact downstream systems. Speed and safety depend on how you execute.
Use ALTER TABLE only when you understand the lock behavior of your database engine. In MySQL, adding a column with a default value may rewrite the entire table. In PostgreSQL, adding a nullable column without a default is instant, but adding a default will rewrite existing rows. For massive tables, consider online schema change tools like pt-online-schema-change or gh-ost for MySQL, or logical replication strategies for Postgres.
Plan the column’s data type carefully. A wrong choice means another migration later, and each migration carries risk. Keep column names short, descriptive, and consistent with naming conventions. Document the purpose and limits of the column in the schema itself with comments.