MongoDB sharding concept -


i'm trying figure out mechanism of mongodb's sharding. can tell me if got thing right ?

here shards example of figured out:

sharded cluster 1 :

shard1 - contains chunk1, chunk2 , chunk5 (replica set of primary , 2 secondaries, have backup chunks)

shard2 - contains chunk3, chunk4 , chunk6 (mongodb single instance, not have chunks)

sharded cluster 2:

shard1 - contains chunk2, chunk3 , chunk6 (mongodb single instance, not have chunks)

shard2 - contains chunk1, chunk4 , chunk5 (replica set of primary , 2 secondaries, have backup chunks)

thanks providing such wonderful information. add sharding done increase i/o bandwidth , partition in-memory data more proficient usage of distributed caching. click here more information regarding modern alternative database sharding.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -