84669인 학습
152542인 학습
20005인 학습
5487인 학습
7821인 학습
359900인 학습
3350인 학습
180660인 학습
48569인 학습
18603인 학습
40936인 학습
1549인 학습
1183인 학습
32909인 학습
用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日,请戳:>---<