Which commands you use to lock the database in mongodb?



Which commands you use to lock the database in mongodb?..

Answer / Manoj Kumar Meena

There are no direct commands to lock an entire MongoDB database. However, as mentioned earlier, MongoDB uses MVCC for concurrency control and it does not require explicit locks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Is mongodb a graph database?

1 Answers  


How do I start mongodb in terminal?

1 Answers  


Does mongodb cost money?

1 Answers  


Can you perform read/write operation for ever yield lock?

1 Answers  


Which are the most powerful features in mongodb?

1 Answers  


Is dynamodb a mongodb?

1 Answers  


What is gridfs in mongodb?

1 Answers  


What is the role of use command?

1 Answers  


What is mongodb cluster?

1 Answers  


How to set primary key in mongoose?

1 Answers  


Mention the command syntax that is used to view mongo is using the link?

1 Answers  


How do I show a collection in mongodb?

1 Answers  


Categories