Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 MongoDB 复制设置并有 1800 MB 的 RAM,其中 1100 MB 正在使用,其中还有 600 MB 缓存。所以我在 MongoDB 上获得了“CacheSize”的配置参数,但只有 1 GB。
那么我可以将缓存大小保留为 MB,如果可以,那么我可以保留的最小 RAM 是多少?
根据文档, cacheSizeGB 值的范围可以从 0.25 GB 到 10000 GB。