Mongodb – Setting the replication at the db or collection level

In a MongoDB replica set, each document is stored on each node (hence the replication factor is the number of nodes, and it is not configurable).

The benefit of this design is each node can answer any query from its locally stored data, without needing to retrieve data from other nodes.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top