What is secondary or slave in mongodb?



What is secondary or slave in mongodb?..

Answer / Ishwar Chand

In MongoDB, a secondary (or slave) is a replica set member that maintains a copy of the primary's data. The role of secondaries is to provide redundancy and high availability by taking over the read operations when the primary goes down. You can configure multiple secondaries in a replica set to achieve higher fault tolerance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Why mongodb is known as best nosql database?

1 Answers  


How do you limit the number of result returned?

1 Answers  


How to populate multiple fields in mongoose?

1 Answers  


Why is mongodb used?

1 Answers  


What is a ‘namespace’?

1 Answers  


What is use of gridfs in mongodb?

1 Answers  


Why mongodb is required?

1 Answers  


What is sharding in mongodb? Explain

1 Answers  


Is mongodb a relational database? Explain

1 Answers  


Whether use to safe backup log feature in mongodb?

1 Answers  


How do I do transactions/locking?

1 Answers  


Is mongodb support null values?

1 Answers  


Categories