adspace


What is replica set in mongodb? Explain

Answer Posted / Priyank Kaushik

A replica set is a group of MongoDB instances that maintain identical data sets to increase availability and redundancy. Each member has the same data and automatically votes to elect a primary node responsible for handling write operations. In case of failure or maintenance, another member can be elected as the primary.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the command syntax for inserting a document?

63


How did mongodb get its name?

60


How to define array in mongoose schema?

79