Eduardo Berton
1 min readMar 22, 2020

--

I think there’s a few more commands to get your data spread across all the shard instances:

sh.enableSharding(“databaseName”)sh.shardCollection(“databaseName.collectionName”, { “shardKey”: 1 })

--

--