A schema change is a decisive move. It reshapes the data model, affects queries, and alters how the system works under load. Adding a new column is more than tacking on a field; it touches indexing, storage, migrations, and application code. One wrong assumption can ripple through production.
Start with the schema. Identify the exact data type—small misjudgments here cost performance later. Use constraints to preserve data integrity from day one. Naming should be precise and clear. Avoid abbreviations that force future developers to guess.
Plan the migration path. For a large table, a blocking migration can lock rows and freeze writes. Use online DDL tools or phased deployments to keep systems responsive. Measure impact on replication lag and background jobs. Test against copies of real data to catch edge cases early.