Transactions

ArangoDB provides support for user-definable transactions.

Transactions in ArangoDB are atomic, consistent, isolated, and durable (ACID).

These ACID properties provide the following guarantees:

  • The atomicity principle makes transactions either complete in theirentirety or have no effect at all.
  • The consistency principle ensures that no constraints or other invariantswill be violated during or after any transaction. A transaction will nevercorrupt the database.
  • The isolation property will hide the modifications of a transaction fromother transactions until the transaction commits.
  • Finally, the durability proposition makes sure that operations from transactions that have committed will be made persistent. The amount oftransaction durability is configurable in ArangoDB, as is the durabilityon collection level.Should you run the ArangoDB Cluster, please see the Limitations sectionto see more details regarding transactional behavior of multi-document transactionsin a distributed systems.