March 2019
Intermediate to advanced
394 pages
11h 4m
English
WiredTiger is significantly different to MMAPv1 in how it uses RAM. MMAPv1 is essentially using the underlying operating system's filesystem cache to page data from disk to memory and vice versa.
WiredTiger, on the contrary, introduces the new concept of the WiredTiger internal cache.
The WiredTiger internal cache is, by default, the larger of the following:
This means if our server has 8 GB RAM we will get the following:
max(3 GB , 256 MB) = WiredTiger will use 3 GB of RAM
And if our server has 2,512 MB RAM we will get the following:
max(256 MB, 256 MB) = WiredTiger will use 256 MB of RAM
Essentially, for any server that has less than 2,512 MB RAM, WiredTiger will use 256 MB for its internal cache. ...
Read now
Unlock full access