mongodb 索引 | taco's blog
taco-wang opened this issue · comments
taco wang commented
https://wangyongblog.tech/post/mongodb-suo-yin-cai-keng/
最近工作中用到mongodb,大批量的用户物品发送失败,现在需要进行补发,目前来看范围查询mongo性能很差,尝试优化一下
db.col.find({
num: 500
}).explain('executionStats')
结...