Skip to main content

Advanced Database Concepts

Database Recovery

0:00
LearnStep 1/2

Database Recovery

Database Recovery

Write-Ahead Logging (WAL)

Before any change to database, write to log first:

ARIES Recovery Algorithm

Three phases:

Checkpointing

Periodic snapshot to reduce recovery time:

Recovery Actions

Transaction StateAction
Committed (in log)Redo if needed
UncommittedUndo