adspace


Explain replica set?

Answer Posted / Sakshi Upadhyay

A replica set in MongoDB is a group of member nodes that maintain the same data. It provides high availability and data durability by ensuring that there are multiple copies of the data across different servers. A replica set has one primary node responsible for handling writes, while the secondary nodes are read-only.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define array in mongoose schema?

79


what is the command syntax for inserting a document?

63


How did mongodb get its name?

60