kagxin / blog

个人博客:技术、随笔、生活
https://github.com/kagxin/blog/issues
7 stars 0 forks source link

mongodb 索引和explain #22

Open kagxin opened 5 years ago

kagxin commented 5 years ago

关于索引

ref: https://docs.mongodb.com/manual/indexes/ https://geekpy.github.io/2019/02/22/MongoDB%E7%B4%A2%E5%BC%95%E8%AF%A6%E8%A7%A3/

多个单列索引,和联合索引

ref: https://blog.csdn.net/wymaweiyue/article/details/79482552

符合索引的顺序选择

ref: https://cloud.tencent.com/developer/article/1185084

explain 字段解释

ref: https://blog.csdn.net/user_longling/article/details/83957085

kagxin commented 5 years ago

复制和分片

ref: https://www.cnblogs.com/clsn/p/8214345.html https://yq.aliyun.com/articles/8461

分片键的选择

ref: ???? https://www.cnblogs.com/chenmh/p/8954584.html https://zhuanlan.zhihu.com/p/35726066