how to do transactions/locking in mongodb?
Answer / Meenakshi Chauhan
MongoDB supports multi-document transactions through the WiredTiger and MMAPv1 storage engines. For locking, MongoDB uses a MVCC (Multi-version Concurrency Control) approach which allows multiple versions of documents to coexist, reducing contention.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the structure of objectid in mongodb.?
How to retrieve data from multiple collections in mongodb?
How to connect mongodb with java in eclipse?
Why do we need mongoose?
Does an update fsync to disk immediately?
Why should we use mongodb?
Where is my mongodb database?
What are the uses of mongodb? Explain
How to create multiple collections in mongodb?
What is replica set in mongodb?
Will there be journal replay programs in case of incomplete entries (if there is a failure in the middle of one)?
Does mongodb cost money?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)