这个Size是在内存里面最好吗? why会有数据大小,索引大小,存储大小 但是 那个5.95G是神马 怎么会比上边加起来还大很多。。 内存是比5.95g还大 还是比Data Size (或者加上索引数据大小)大就可以了?
1. It would be best if all the data could be in memory. 2. database = payload + index 3. MongoDB’s journal is 2~3G by default, you can use --small-files to reduce the size 4. At least the index should be ensured to be in memory.
1. It would be best if all the data could be in memory.
2. database = payload + index
3. MongoDB’s journal is 2~3G by default, you can use --small-files to reduce the size
4. At least the index should be ensured to be in memory.