IT lexicon › Database › Non-repeatable read

Non-repeatable read

Database På svenska → Updated: 2026-11-11

A transaction anomaly where the same read returns different values within a single transaction.

A transaction reads the same row twice and gets different values because another transaction updated it between the two reads. The anomaly is permitted under read committed isolation but prevented by repeatable read and serializable. Can cause logical errors if a transaction assumes the same data remains constant throughout its lifetime. Common in high-concurrency systems where ignoring this risk can lead to subtle bugs.

Distinct from phantom read (where new rows appear) and dirty read (where you read uncommitted changes).

← Back to the lexicon