Research and Analysis of MongoDB database-Level Lock

Source: Internet
Author: User

The series version information of the MongoDB database is as follows:

2.5.0 development version (unstable Version)

2.4.4 latest stable product release

2.2 latest stable version 2.2.4

2.0 latest stable version 2.0.9

 

There are 2 parts to the improvements in v2.2:

Elimination of the global Reader/writer lock-database level locks as the first step.

Pagefaultexception architecture-yield lock on page fault.

Apsaradb for MongoDB 2.2 is greatly improved compared with apsaradb for MongoDB 2.0. The biggest improvement is lock.Global lockToDB level.

Version 2.2 has improved the lock and brought substantial benefits to the write throughput by reducing the lock competition.

In addition to the improvements provided in MongoDB 2.0 and 2.2No lock with any extra Granularity. We are consideringIntroduce document-level locks in version 2.6.

The lock generation upgrade is sufficient, and the set-Level Lock may not lead to any other important improvement. Therefore, the document-Level Lock may be in the next direction.

 

References:

features of mongodb2.4 version 8
http://blog.mongodb.org/post/45754637343/mongodb-2-4-released
version 2.4 full update list fullchangelog (article 694)
https://jira.mongodb.org/secure/IssueNavigator.jspareset=true&jqlQuery=project+%3D+SERVER+AND+fixVersion+in+%28%222.3.2%22,+%222.3.1%22,+%222.3.0%22,+%222.4.0-rc0%22,+%222.4.0-rc1%22,+%222.4.0-rc2%22,+%222.4.0-rc3%22%29+ORDER+BY+votes+DESC,+status+DESC,+priority+DESC
goodbye global lock-MongoDB 2.0 vs 2.2
http://blog.serverdensity.com/goodbye-global-lock-mongodb-2-0-vs-2-2/
MongoDB new version 2.4 features
http://www.cnblogs.com/shanyou/archive/2013/04/02/2994670.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.