Adding a new column should be fast, predictable, and safe. In most databases, it sounds simple but carries real consequences. The wrong data type can lead to wasted space. A blocking migration can lock writes. In production, that means downtime, throttled performance, or corrupted data.
First, define the purpose of the new column. Know exactly how and where it will be used. Choose a data type that matches your intent. Avoid generic text where fixed or numeric types avoid parsing overhead. Set sensible defaults to prevent null values from breaking application logic.
Second, plan the migration. On small tables, a single ALTER TABLE ... ADD COLUMN works. On large, high-traffic tables, use an online schema change tool like pt-online-schema-change or native online DDL if your database supports it. This avoids locks and keeps the service available.