March 2019
Intermediate to advanced
394 pages
11h 4m
English
As discussed earlier in this chapter, WiredTiger uses an internal cache to optimize performance. On top of it, there is always the filesystem cache that the operating system (and MMAPv1) uses to fetch data from disk.
By default, we have 50% of RAM dedicated to the filesystem cache and 50% to the WiredTiger internal cache.
The filesystem cache will keep data compressed as it is stored on disk. The internal cache will decompress it as follows:
Read now
Unlock full access