AlgoMaster Newsletter

AlgoMaster Newsletter

Share this post

AlgoMaster Newsletter
AlgoMaster Newsletter
How Databases Guarantee Durability (Even After Crashes)

How Databases Guarantee Durability (Even After Crashes)

Ashish Pratap Singh's avatar
Ashish Pratap Singh
Apr 29, 2025
∙ Paid
91

Share this post

AlgoMaster Newsletter
AlgoMaster Newsletter
How Databases Guarantee Durability (Even After Crashes)
5
9
Share

One of the things that make databases truly powerful is their ability to protect your data even in the face of unexpected failures.

Whether the database server crashes, restarts, or there’s a sudden power outage, you can trust that your committed data won’t simply disappear.

This promise is known as Durability — one of the four essential ACID properties of databases.

But, what does it actually take to make a database durable?

In this article, we'll explore three key techniques databases use to ensure durability.


1. Write-Ahead Logging (WAL)

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Ashish Pratap Singh
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share