Adding a new column sounds simple. In practice, it can trigger schema migrations, lock tables, and slow queries. In large systems, a careless change can block writes, spike load, or corrupt data. You must plan for capacity, compatibility, and deployment safety.
The first choice is how to alter the schema. Most relational databases offer ALTER TABLE ADD COLUMN. It runs fast if the column is nullable with no default. This avoids touching every row. If you need a default value on an existing table with millions of rows, consider backfilling in batches. Use an out-of-band process to write values, then apply the default in a final migration.
For PostgreSQL, adding a nullable column is near-instant. Adding with a constant default forces a full table rewrite. MySQL and MariaDB have similar behaviors, depending on storage engine and version. Read the documentation for your exact release. Test on a copy of realistic data.