IT lexicon › Infra & Ops › Recovery

Recovery

Infra & Ops På svenska → Updated: 2026-11-10

The process of restoring a database to a valid state after an error or system crash.

Recovery is a critical aspect of database design. If a server crashes, the database might be in the middle of a transaction — some writes may reach disk while others vanish from RAM. The recovery mechanism uses the transaction log to either complete or roll back the incomplete transaction, bringing the database to a consistent state before accepting new requests.

Modern databases can also perform point-in-time recovery — restoring to any historical moment using backups and the transaction log. This capability is essential for fixing human mistakes like an accidental DELETE without losing all subsequent transactions.

← Back to the lexicon