摘要:
Concurrency ImprovementsWhen going to disk, the server will yield the write lock if the data being acted upon isn't likely to be in memory. The initial implementation of this feature now exists: (SERVER-2563) 阅读全文
摘要:
MongoDB tells 操作系统去map all data files 到内存,操作系统使用mmap()system call来完成。从这一点看,data file,包括所有的 docments,collections,和它们的indexes,都swapped in and out of RAM通过操作系统使用4KB chunks called pages。当data from a given page is requested,就是被查询了,操作系统必须确保 the page is available in RAM。如果不满足,这就是一个exception known as a page 阅读全文