Adding a new column should be simple. In practice, it can be a trap. Migrations block writes. Index creation stalls traffic. Type mismatches explode at runtime. The cost is measured in both milliseconds and lost trust.
The fastest way to add a new column is to design for it before you need it. Use schema management tools that support online DDL. Test the migration script against a copy of production data. Measure the impact on query plans. Watch for locks before they appear.
For relational databases like PostgreSQL or MySQL, prefer commands that avoid table rewrites when possible. Adding a NULLable column with a default can be dangerous if it forces a full table rewrite. Break the change into steps: first create the column without a default, then backfill in small batches, then set constraints. For NoSQL databases, ensure that the new column—or attribute—is backward-compatible for existing readers and serializers.