MongoDB Multi-Document ACID Transactions

Support for multi-document ACID transactions debuted in the MongoDB 4.0 release in 2018, and were extended in 2019 with MongoDB 4.2 enabling Distributed Transactions across shared clusters. This makes MongoDB the only database to fully combine the ACID guarantees of traditional relational databases with the speed, flexibility, and power of the document model, and an intelligent distributed systems design to scale-out and place data where you need it.

Through snapshot isolation, transactions provide a consistent view of data, and enforce all-or-nothing execution to maintain data integrity. Transactions in MongoDB feel just like transactions developers are familiar with from relational databases, and are simple to add to any application that needs them.

The addition of multi-document transactions makes it easier than ever for developers to address a complete range of use-cases with MongoDB, while for many, simply knowing that they are available provides critical peace of mind.

In this white paper, we explore:

  • Why MongoDB has added multi-document ACID transactions
  • Their design goals, implementation, and developer best practices
  • The engineering investments made over the past 3+ years to lay the foundations for them

Companies ranging from startups to Fortune 500s choose MongoDB to build, scale, and innovate.

yougovadpebay