Enable Sharding In order to shard a collection in mongodb, you need to set up a structure in accordance with the following criterias. Note: There is no rollback sharding process before mongodb version 5.0. The sharding key should be based on an index consisting of the commonly used query filter Continue Reading