-
Book Overview & Buying
-
Table Of Contents
The Official MongoDB Guide
By :
Starting in MongoDB 8.0, MongoDB uses an upgraded version of TCMalloc that uses per-CPU caches, which locally store memory for a specific CPU core and drastically reduce memory fragmentation when compared to the previously used per-thread caches. As a result, the new TCMalloc helps reduce memory fragmentation and makes your database more resilient to high-stress workloads. This reduced fragmentation can improve the read performance of your replica set, especially secondaries that serve read queries.
All operating systems that support MongoDB 8.0 also support the updated TCMalloc, except for the following:
If you’re running a self-managed MongoDB deployment on a Linux system, ensure that you enable Transparent...