I will rent a cloud server(12gb ram, 240gb nvme sdd). I read mongodb wiredtiger uses limited amount of system memory,
Since MongoDB 3.2, MongoDB has used WiredTiger as its default Storage Engine. And by default, MongoDB will reserve 50% of the available memory – 1 GB for the WiredTiger cache or 256 MB whichever is greater.
Since i will rent this server just for mongodb(i will have high throughput), i want wiredtiger to use all available system resources, how can i achieve this?. Thank you
Edit your
mongo.conf. This file is usually located at/etc/mongo.confchange this section:
You may want to experiment with the size to test the stability of your server (may want to make it 1 GB less). Remember to restart the
mongodservice.