0 votes
in MongoDB by

How do I do transactions/locking?

1 Answer

0 votes
by

How do I do transactions/locking?

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

🔗Reference : stackoverflow.com

🔗Source: Azure Interview Questions and Answers

Related questions

0 votes
asked Oct 20, 2022 in Other by AdilsonLima
0 votes
asked Oct 30, 2019 in DBMS by rajeshsharma
...