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。
精彩评论