84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
用find可以使用explain('executionStats')查看查询分析,但是aggregate用没有explain查询分析了,根本看不出它有没有用索引,是否在内存排序这些问题啊...
小伙看你根骨奇佳,潜力无限,来学PHP伐。
不妨多看看官方文档吧。
https://docs.mongodb.com/manu...
db.collection.aggregate(pipeline, options)
The options document can contain the following fields and values:explain,allowDiskUse,etc.
Love MongoDB! Have Fun!
MongoDB在线讲座系列19- MongoDB 10步构建单一视图
就在4月19日,请戳:>---<
不妨多看看官方文档吧。
https://docs.mongodb.com/manu...
db.collection.aggregate(pipeline, options)
The options document can contain the following fields and values:explain,allowDiskUse,etc.
Love MongoDB! Have Fun!
MongoDB在线讲座系列19- MongoDB 10步构建单一视图
就在4月19日,请戳:>---<