Multi-Document ACID Transactions
MongoDB has supported multi-document atomicity, consistency, isolation, and durability (ACID) transactions since the release of MongoDB 4.0 in 2018. Transactions are logical groups of processes, with each group containing several reads or writes across different documents. Although single-document operations in MongoDB already offer basic transactional features that meet the data integrity needs of most applications, the addition of multi-document ACID transactions provides you with increased flexibility.
This chapter will cover the following topics:
- Significance and properties of transactions
- Fundamentals and implementation steps for multi-document ACID transactions
- Best practices and limitations for multi-document ACID transactions