A new column in a table is more than extra space. It is a structural alteration that affects queries, indexes, and performance. In SQL, the ALTER TABLE command is the standard path:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
This runs fast on small tables. On large datasets, it can lock writes, increase replication lag, and spike CPU. Plan for downtime or use online schema change tools. MySQL and PostgreSQL each have nuances—PostgreSQL often handles ADD COLUMN with default values more efficiently, but defaults on large tables can still trigger a full rewrite.
When designing a new column, define the exact data type. Use constraints and indexing only if needed. Every index speeds reads but slows writes. Avoid NULL where possible when the column must be populated. Think about how it will integrate into queries; a column added without reference in SELECT statements wastes storage.