摘要: 使用 MongoDB 的 findAndModify 命令来快速高效进行数据操作语法:db.Collections.findAndModify(query, null, null, true, null, fal... 阅读全文
posted @ 2018-10-16 16:10 王图思睿 阅读(89) 评论(0) 推荐(0)
摘要: 教训:MongoDB 在分片后的集合上进行 db.collection.count() 操作时,出现结果不准确的现象,需要采用聚合的方法获取集合的 count 结果插入数据后,使用 Studio 3T 查看数据量... 阅读全文
posted @ 2018-10-16 16:03 王图思睿 阅读(281) 评论(0) 推荐(0)