Reputation: 4143
From MongoDb's site, the current only support storage engine is Memory-Mapped Storage Engine. I am wondering how it supports atomicity in the presence of system crash(i.e power failure)? Does it depend on the OS? Is there any reference about this topic?
What are the pros and cons of this design comparing with:
Thanks
Upvotes: 2
Views: 628
Reputation:
Either you use a replica set for ensure that the data arrived on at least N replica nodes or for the standalone case you'll wait for MongoDB 1.8 having a dedicated journal to ensure better durability across crashes (should be available with the latest 1.7.X unstable release). And apart from that: Google - this issue has been discussed and documented in depth in various postings and blogs. Not sure why don#t research first yourself.
Upvotes: 1
Reputation: 2308
This is the page you are looking for:
http://www.mongodb.org/display/DOCS/Durability+and+Repair
Upvotes: 1