Databases

Transactions

Terms

7 terms

  • ACID

    ACID names four transaction guarantees, atomicity, consistency, isolation and durability, that keep database data correct despite crashes and concurrency.

  • Commit

    A commit is the operation that ends a database transaction and makes all of its changes permanent and visible to other sessions as a single unit.

  • Isolation level

    An isolation level defines how strongly concurrent database transactions are shielded from each other's uncommitted and changing data.

  • MVCC

    MVCC, multiversion concurrency control, lets database transactions read consistent snapshots of data while other transactions write new row versions.

  • Rollback

    A rollback undoes every change made by a database transaction that has not committed, returning the data to the state it had before the transaction began.

  • Savepoint

    A savepoint is a named marker inside a database transaction that allows a partial rollback to that point without aborting the whole transaction.

  • Two-phase commit 2PC

    Two-phase commit (2PC) is a protocol that makes all participants of a distributed transaction either commit together or abort together.