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 |
Why is mongodb used?
How index is used in mongodb?
What language you can use with mongodb?
What is nosql database and why you use nosql database?
Which are the different languages supported by mongodb?
Can you lock more than one database at the same time in mongodb?
What are the different types of nosql databases? Give some examples.
Is mongodb a graph database?
What is the role of 8 analysers in mongodb?
What is index and how it is used in mongodb?
Should you start out with sharded or with a non-sharded mongodb environment?
What is the difference between mongodb and redis database?
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)