Transactions — MongoDB Manual
For situations that require atomicity of reads and writes to multiple documents (in a single or multiple collections), MongoDB supports multi-document transactions.
Transactions - Database Manual - MongoDB Docs Docs Menu Ask MongoDB AI Docs Home / Development Docs Home / Development Docs Home / Development Transactions Copy page In MongoDB, an operation on a single document is atomic. Because you can use embedded documents and arrays to capture relationships between data in a single document structure instead of normalizing across multiple documents and collections, multi-document transactions are not necessary for many practical use cases. For situations that require atomicity of operations on multiple documents, MongoDB supports transactions. You can us
related reading
- Welcome to the MongoDB Docs - MongoDB Documentation - MongoDB Docsmongodb.com
- Welcome to the MongoDB Docs - MongoDB Documentation - MongoDB Docsmongodb.com
- DBMS Musings: It’s Time to Move on from Two Phase Commitdbmsmusings.blogspot.com
- Replication - Database Manual - MongoDB Docsmongodb.com
- Change Streams - Database Manual - MongoDB Docsmongodb.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- mongo/src/mongo/db/query/README.md at master · mongodb/mongogithub.com
- Queries - Mongoose v9.8.0mongoosejs.com
- Sharding - Database Manual - MongoDB Docsmongodb.com
- Understanding IndexedDB. The complete guide.blog.xnim.me
- Multiversion concurrency control - Wikipediaen.wikipedia.org
- In-Memory Storage Engine for Self-Managed Deployments - Database Manual - MongoDB Docsmongodb.com