MongoDB性能优化五步走之读书笔记

1.找出慢语句

db.setProfilingLevel(1, 100);

2.使用explain

3.创建索引

4.使用稀疏索引来减少空间占用

这点不理解

5.读写分离

原文来自http://www.iteye.com/news/31033

原文地址:https://www.cnblogs.com/carrier/p/7264037.html