开发者

Mongodb is slow on 8 million rows collection

I have 8 milion rows of collection, and I am new to mongoDB. It loads 20 r开发者_如何学编程ows really slowly...

What should I do do speed it up?


Probably you need to add index.

Optimization Guidelines


Need more informations.Just like server's ram。

Optimize Step: 1.Index your query field。 2.Check the index's storage size。If the index's size larger than RAM。MongoDB need to read data by disk I/O.So slower.

8 milion documents is not large。It is not a big deal。

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜