How to configure the cache size for WiredTiger in MongoDB?
For the WiredTiger storage engine, you can specify the maximum size of the cache that WiredTiger will use for all data. This can be done using storage.wiredTiger.engineConfig.cacheSizeGB option. In MongoDB, WiredTiger is the default storage engine starting from version 3.2. To configure the cache size for WiredTiger, you can use the wiredTiger.cacheSizeGB parameter in the … Read more