A new column changes the shape of your data. It updates the schema and alters how queries run. In SQL, adding one is direct:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
This command modifies the table structure. Once executed, every row now has the field. It can be empty, indexed, or carry defaults. In relational systems like PostgreSQL or MySQL, a new column can trigger storage changes, reindexing, or locks. For large tables, these effects matter. Lock time can stall writes and reads. Plan migrations with precision.
In NoSQL stores, adding a new column—or more accurately, a new property—is often schema-less. Document databases like MongoDB accept the field when you write it. But indexing it later can force a scan across billions of documents. This is cost in time and RAM.