Skip to content

storage FAQ; integrated some comments from kyle #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions source/faq/storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ the :doc:`complete list of FAQs </faq>` or post your question to the
What are memory mapped files?
-----------------------------

Memory mapped files are a way of keeping files and data
up to date in memory using the system call ``mmap()``. MongoDB uses
memory mapped files as its storage engine. By using memory mapped
files MongoDB can treat the content of its data files as if they were
in memory. This provides MongoDB with an extremely fast and simple
method for accessing and manipulating data.

A memory-mapped file is a file whose data has been mapped to a region of
virtual memory via the ``mmap()`` system call. Memory-mapped files play a
critical role in the MongoDB storage engine. By using memory mapped files
MongoDB can treat the content of its data files as if they were in memory.
This provides MongoDB with an extremely fast and simple method for accessing
and manipulating data.

How do memory mapped files work?
--------------------------------
Expand Down