Schema Evolution
Procedures for changing database structure — adding columns, altering types, reorganizing — without losing or corrupting existing data.
Early systems like IMS required complete data remigration for structural changes. CODASYL introduced subschema layers between the global schema definition and each application — protecting clients from structural changes. A program could ignore new fields or internal reordering. Modern SQL databases offer online schema changes allowing reads and writes to continue during migration. Evolution is critical for system longevity: without it, all data must be exported and restructured offline, making updates expensive downtime events.
Elegantly handling schema evolution is harder than it sounds — many production systems still resort to elaborate workarounds to avoid it.