Published onAugust 16, 2021Mongodb 分片 | Sharding | 索引 | indexmongodbMongoDB分片需要手动指定片键。好的片键需要尽量平滑,否则会出现数据在多个节点中倾斜,导致集群性能下降。