MediumConceptData and storage design
What is a write-ahead log and why do databases use it?
What a good answer covers
Changes are appended to a durable log before data pages are updated, so after a crash the database replays the log to recover committed work.
PreviousHow do you choose between B-tree and LSM-tree storage for a workload?Next What is database partitioning by range versus hash?