In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
MongoDB's storage engine is an important component responsible for how MongoDB stores data in memory and disk. MongoDB supports multiple storage engines, because using different storage engines in different application scenarios can make MongoDB perform better.
Starting with MongoDB3.2, MongoDB uses the WiredTiger storage engine by default. It is suitable for high-load applications and is the official preferred recommended storage engine. The WiredTgier storage engine provides a document-level concurrency model, checkpoint functionality and compression capabilities. MongoDB Enterprise Edition also supports encryption.
Prior to MongoDB3.2, MMAPv1 was the default storage engine, and MongoDB Enterprise Edition also supports a memory storage engine that stores 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 on the command line or in the configuration file, and MongoDB3.2 uses the WiredTiger storage engine by default.
-- storageEngine=wiredTiger
YMAL format profile
Storage.engine=wiredTiger
Document-level concurrency
WiredTiger uses document-level concurrency to control write operations. Therefore, multiple clients can modify different documents of the same collection at the same time.
Reference documentation:
Https://docs.mongodb.com/manual/storage/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 276
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.