Transactions in YugabyteDB.
YugabyteDB is a transactional database that supports distributed transactions. A transaction is a sequence of operations performed as a single logical unit of work. A transaction has four key properties: Atomicity, Consistency, Isolation, Durability (ACID).
The following table summarizes the support for transactions across the YSQL and YCQL APIs.
|Distributed transactions||Yes||Yes||Perform multi-row or multi-table transactions.
An application can connect to any node of the cluster.
|Snapshot||Repeatable read isolation level in PostgreSQL maps to snapshot isolation in YSQL.|
||Yes||No||The transaction must be expressed as one statement in YCQL.|