3 ms·
> MongoDB: does mongodb support ACID transactions? I think this is one of the key question in making decision.
by riku_iki 3y ago
> MongoDB:
does mongodb support ACID transactions? I think this is one of the key question in making decision.
- varelaz 3y agoAll operations related to a single document are ACID. MongoDB supports multi-document transactions, but with higher performance cost. https://www.mongodb.com/docs/manual/core/transactions/ https://www.mongodb.com/docs/manual/core/transactions/
- riku_iki 3y agoYour doc doesn't state ACID support, but only atomicity (first A in ACID).
- Too 3y agohttps://www.mongodb.com/basics/acid-transactions https://www.mongodb.com/basics/acid-transactions
- riku_iki 3y agoalso jepsen report says that it is mongo marketing assessment, and they are not really acid: MongoDB’s claim of “full ACID transactions” which “maintain the same data integrity guarantees you are used to in traditional databases” could be misleading. We recommend that users who are accustomed to serializable behavior evaluate critical transactions carefully, to identify whether running at snapshot isolation could violate application-level constraints. MongoDB may wish to revise their marketing language to use “snapshot isolated” instead of “ACID”. https://jepsen.io/analyses/mongodb-4.2.6 https://jepsen.io/analyses/mongodb-4.2.6