mongodb - How to understand "The shards are replica sets." -


When I jerked and set the replica together, I'm confused. The reference says what are the shards replica set? What are the shards set to copy? Can anyone give me a conceptual explanation?

The replica set is a cluster of MongoDebii servers that implement the master-slave implementation. So, basically the same data is shared between multiple replication i.e master and slave (s) master is also called as primary node and slave (second) is considered as secondary nodes. It replicates your data on several Mongo examples to resolve / avoid unsuccessful overs. Whenever the primary node goes down, MongoDB automatically chooses the primary node between the secondary nodes.

Sharding is used to store large data sets between many machines. So basically, if you want to compare only the conditional nodes / there can not be the same data, where the same data in the relayed nodes is there, the shondard has different objectives, large amounts of data sets Spread over many machines.

Now, the subset of this large data set can also be changed in several nodes, because the primary and secondary are to remove the failovers. So basically there may be many replica-sets on one shoulder. For a large data set, this replication set is a subset of data. Therefore, many shards can complete the entire large set of data sets which differ in the form of fragments.

You can also get more details related to this in the Mongodi Manual.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -