What did MongoDB not being ACID compliant before v4 really mean?

前端 未结 10 1122
情书的邮戳
情书的邮戳 2020-12-04 04:15

I am not a database expert and have no formal computer science background, so bear with me. I want to know the kinds of real world negative things that can happen

10条回答
  •  时光取名叫无心
    2020-12-04 05:04

    A good explanation is contained in "Starbucks Does Not Use Two Phase Commit".

    It's not about NoSQL databases, but it does illustrate the point that sometimes you can afford to lose a transaction or have your database in an inconsistent state temporarily.

    I wouldn't consider it to be something that needs to be "fixed". The fix is to use an ACID-compliant relational database. You choose a NoSQL alternative when its behavior meets your application requirements.

提交回复
热议问题