mongodb3.0 Performance Test Report One

Source: Internet
Author: User


Test environment:

Server: X86 pcserver total 6 units

CPU: Single 8-core

Memory: 64G

Disk: RAID 10

Operating system: CentOS 6.5

mongodb:3.0

Java Driver: 2.13.0

jdk:1.6

Network: Gigabit Ethernet

Test One:

Single Monodb service, one with configuration server as a pressure server, the amount of data does not exceed the size of memory.

The MongoDB configuration is as follows:

Fork = True
bind_ip=10.10.130.33
Port = 10000
DBPath =/data/db
LogPath =/data/log/log_m.txt
Pidfilepath =/data/pid/pid_m.txt
Journal = True
Storageengine = Wiredtiger

Scenario One: 1000 characters per document, 10 threads written at the same time.


Write an average of 22,413 documents per second.

The old version (MongoDB2.4.4) results as follows:


Write an average of 16,771 documents per second.

Conclusion: 1k document writing improves performance by 34%. 93% less disk space usage.

Scenario Two: 10K characters per document, 10 threads write at the same time.


Write an average of 9,038 documents per second.

Old version test (MongoDB 2.4.4):


An average of 8,268 documents are written per second, and the insertion speed is erratic.

Conclusion: 10k document writing improves performance by 10%. 87% Less disk space usage.


Test One:

Single Monodb service, one with the configuration server as a pressure server, the amount of data does not exceed the memory size, the document is 35K byte group.

Test results:


Write an average of 2,588 documents per second.

Old version (MongoDB 2.4.4):


write an average of 2,261 documents per second. The insertion speed is not stable

Conclusion: 35k document writing improves performance by 15%.   91% less disk space usage.


Summary: The new version has greatly improved the control of disk space.

Individual insert performance is not improved, but the speed of insertion is significantly more stable.

Because of the document-level locks provided by the new engine, there should be a big boost in the mode of INSERT, update, and query blending.

Test two will test the single-machine blending mode

Test three will test the Shard pattern





mongodb3.0 Performance Test Report One

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.