Answer Posted / Raghaw Kumar Jha
In MongoDB, various operations can lead to a locked database, including write operations (insert, update, delete), index builds and reindexes, and certain administrative commands. To minimize the impact of these locks on performance, MongoDB uses a technique called opportunistic locking (oplocks) that allows multiple clients to read data concurrently while only one client can write to it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers