Mongodb Sharding terminology, mongodbsharding
ShardingExponential data sharding
ClusterA cluster contains multipleShards, EachShardByReplica setComposition
CollectionThe table concept in DB, but no schema
In sharding scenarios, each collection is divided into multipleChunks,ChunkSize can be set
If the chunk exceeds the set size, it is split into two shards,SplittingIs the background process responsible for this job.
MigrateRefers to chunk migration. When the number of chunks is not balanced among different shard, the background processBalancingThe migrate job will be executed.
A cluster composed of more than three servers records the shard on which the chunk is located.MetadataMetadata. These servers are calledConfig server
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.