About Chunks in Shards

Just to confirm:

After we select the shard key and shard our collection, the chunks are created. Let’s assume that that I picked {“sku”: 1} that goes from 1 to {“sku”: 500}, so if the database is empty or has only few documents at what point MongoDB will divide the “sku” into chunks? Also, as soon as the data is divided into chunks the chunkSize is established and the automatic balancing starts?

Any more text on the subject?

Thanks.

Hi @Dejan_Batic,

Please go through the following resources and if you still have any doubt then let me know and we can talk about it.

~ Shubham

Thank you that helped!