Transactions

Transaction

English

Overview

A unit that treats multiple operations as one indivisible group.

Details

A mechanism that treats multiple operations as an indivisible unit: either all of them succeed, or all of them fail and roll back. Internally, many implementations record changes to a log first via a mechanism such as write-ahead logging (WAL), so a consistent state can be recovered from it even after a crash.

More Database terms