What Are Database Transactions?
7 entriesA transaction groups several operations into one unit that either fully succeeds or fully fails. Relational databases promise ACID properties (atomicity, consistency, isolation, durability), and isolation levels such as read committed, repeatable read and serializable define what concurrent transactions can observe. Distributed systems add coordination problems that are handled with protocols such as two-phase commit, consensus and sagas. Descriptions below follow each project's or vendor's own pages and are not rankings; release facts come from GitHub.
Transactions in Relational Databases
12 entriesOfficial documentation on transactions, isolation and concurrency.
Transactions in NoSQL Databases
4 entriesWhat other models guarantee.
Distributed Transactions
9 entriesSystems and documentation for transactions across nodes.
Correctness Testing and Benchmarking
6 entriesTools for checking isolation claims and measuring transaction throughput.
Papers and Explainers
5 entriesFoundational research on isolation and consistency.
Frequently Asked Questions
What does ACID mean?
Atomicity (all or nothing), consistency (constraints hold), isolation (concurrent transactions do not interfere in ways the isolation level forbids) and durability (committed data survives failures).
What are isolation levels?
Settings that define which anomalies concurrent transactions may see: read uncommitted, read committed, repeatable read and serializable in the SQL standard. Databases implement them differently, so PostgreSQL, MySQL, SQL Server and Oracle behave differently at the same named level.
What is MVCC?
Multiversion concurrency control keeps several versions of each row so readers see a consistent snapshot without blocking writers. PostgreSQL, MySQL InnoDB and Oracle use forms of it.
What is the difference between serializability and linearizability?
Serializability is about transactions: the result equals some serial order. Linearizability is about single operations on one object appearing to take effect instantly. Strict serializability combines both. Bailis's explainer covers the difference.
How do distributed transactions work?
Common approaches are two-phase commit coordinated across nodes, consensus-based protocols as in Spanner and CockroachDB, and application-level sagas that use compensating actions. See the Spanner and Percolator papers and the saga pattern.
Do NoSQL databases support transactions?
Some do. MongoDB and DynamoDB offer multi-item ACID transactions, while Cassandra offers lightweight transactions for single partitions and Redis offers MULTI and EXEC. Guarantees and costs differ, so read each product's documentation.
How can I check a database's isolation claims?
Jepsen publishes independent analyses of many databases, and its Elle checker finds isolation violations in recorded histories. Vendor claims are not a substitute for testing your own workload.
How current is this page?
Links and release facts were checked on 31 October 2026. The MySQL documentation returned 403 and the Microsoft Research page did not respond to automated checks. Links that did not resolve were dropped. Descriptions follow each project's own pages and are not rankings.
Where can I learn about database backup and recovery?
See the Database Backup and Recovery page for native backup tools, point-in-time recovery, cloud backup services, Kubernetes backup with Velero and disaster recovery planning.
Where can I learn about database security?
See the Database Security page for access control, encryption, auditing, masking, SQL injection prevention, cloud database security features and hardening guides.