MongoDB's storage engine is an important component that is responsible for how MongoDB stores data in memory and on disk. MongoDB supports a variety of storage engines because different scenarios use different storage engines to make MongoDB perform better.
Starting with MongoDB3.2, MongoDB uses the Wiredtiger storage engine by default. It is ideal for applications with high loads and is also the official preferred storage engine for recommended use. The Wiredtgier storage Engine provides a document-level concurrency model, checkpoint functionality, and compression capabilities. The MongoDB Enterprise version also supports encryption features.
MongoDB3.2 before MMAPV1 is the default storage engine, MongoDB Enterprise Edition also supports the memory storage engine, storing documents in memory.
1.WiredTiger Storage Engine
Starting with MongoDB3.0, the 64-bit version of MongoDB supports the Wiredtiger storage engine. The storage engine can be specified at the command line or in the configuration file, and MongoDB3.2 uses the Wiredtiger storage engine by default.
--storageengine=wiredtiger
Ymal Format configuration file
Storage.engine=wiredtiger
Document-level concurrency
Wiredtiger uses document-level concurrency to control write operations. Therefore, multiple clients can modify different documents for the same collection at the same time.
Reference Documentation:
https://docs.mongodb.com/manual/storage/
This article is from the Linux SA John blog, so be sure to keep this source http://john88wang.blog.51cto.com/2165294/1784379
MongoDB Storage Engine