MongoDB Question: Download MongoDB PDF

How to do transactions/locking?

Tweet Share WhatsApp

Answer:

MongoDB does not use traditional locking or complex transactions with rollback, as it is designed to be lightweight and fast and predictable in its performance. It can be thought of as analogous to the MySQL MyISAM autocommit model. By keeping transaction support extremely simple, performance is enhanced, especially in a system that may run across many servers.

Download MongoDB PDF Read All 39 MongoDB Questions
Previous QuestionNext Question
Does an update fsync to disk immediately?Tell me why are my data files so large?