Definition: Durability means that once a transaction successfully commits, its changes survive failures such as a database/server crash.
The database uses mechanisms such as logs and persistent storage to recover committed data.
Examples:
- You successfully transfer €100 → server crashes → transfer is still recorded.
- You place an order → database crashes → committed order isn’t lost.
- You create a user → power failure → user still exists after recovery.