请问wiredTiger储存引擎默认占用多少RAM?
-
请问wiredTiger储存引擎默认占用多少RAM?
-
默認是物理內存的一半
WiredTiger很强大,但也有坑,使用时请注意规避
没有32位支持
和6 数据文件不兼容
Journal 默认不会即时刷盘,系统宕机会丢失最多100MB Journal数据
Stall现象还会存在 – 特别是IO资源不够的情况下
Windows上性能指标不如Linux
-
RAM * 60% - 1G
or
1G
-
@Tenchi 学习了
-
這裡有提到
https://docs.mongodb.com/manual/core/wiredtiger/
With WiredTiger, MongoDB utilizes both the WiredTiger internal cache and the filesystem cache.
Starting in 3.4, the WiredTiger internal cache, by default, will use the larger of either:
- 50% of RAM minus 1 GB, or
- 256 MB.