开发者

Memory-Mapped Storage Engine

开发者 https://www.devze.com 2023-02-10 14:23 出处:网络
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 depe

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开发者_如何学Python are the pros and cons of this design comparing with:

  1. couchdb's crash only design which depends on append only b+tree.
  2. sqlite's rollback journal file

Thanks


This is the page you are looking for:

http://www.mongodb.org/display/DOCS/Durability+and+Repair


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消