Difficulty: Advanced
How does WAL ensure durability?
By logging every change to a persistent file (the log) BEFORE the changes are applied to the actual data files. If the system crashes, the log is used to replay the changes.
Durability, Recovery
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.