Undo-Redo
A recovery strategy using both reverse and forward logs to repair the database after a crash.
Undo-redo logging is a classical recovery mechanism that emerged in the 1970s and became the standard for most enterprise DBMS software. The undo log stores before-images (old values) of changed data; the redo log stores after-images (new values). After a crash, recovery first rolls back all incomplete transactions using the undo log, then replays all committed transactions forward using the redo log to guarantee durability.
This became the recovery paradigm for nearly every major DBMS. The alternative—a redo-only log—required all changes to be written to disk before commit, which was prohibitively slow. Undo-redo combined with checkpoints allowed transactions to commit quickly without waiting for disk synchronization. This was a critical innovation that made relational databases practical for high-transaction-volume environments.