Mongodb3.0 Performance Test Report 1: mongodb3.0 performance test
Test environment:
Servers: 6 X86 pcservers
Cpu: single 8-core
Memory: 64 GB
Disk: raid 10
Operating System: centos 6.5
Mongodb: 3.0
Java DRIVER: 2.8.0
Jdk: 1.6
Network: Gigabit Ethernet
Test 1:
A single monodb service, with the same configuration server serving as a stress server, cannot exceed the memory size.
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 1: Each document contains 1000 characters and is written in 10 threads simultaneously.
Write an average of 22413 documents per second.
The old version (mongodb2.4.4) is as follows:
Writes an average of 16771 documents per second.
Conclusion: the performance of 1 K documents is improved by 34%. Disk Space is reduced by 93%.
Scenario 2: Each document contains 10 k characters and is written in 10 threads at the same time.
Writes an average of 9038 documents per second.
Test earlier versions (mongodb 2.4.4 ):
An average of 8268 documents are written per second, and the insertion speed is unstable.
Conclusion: The performance is improved by 10% by writing 10 k documents.Disk Space is reduced by 87%.
Test 2:
A single monodb service, one with the same configuration server as the stress server, the data volume does not exceed the memory size, the document is a 35 K byte group.
Test results:
Writes an average of 2588 documents per second.
Old Version (mongodb 2.4.4 ):
Writes an average of 2261 documents per second. The insertion speed is unstable.
Conclusion: the performance of 35 K documentation is improved by 15%.Disk Space is reduced by 91%.
Summary: The new version greatly improves disk space control.
The insert performance is not significantly improved, but the insert speed is significantly improved.
Because of the document-level locks provided by the new engine, there should be significant improvements in the insert, update, and query hybrid mode.
Test 2 test the standalone hybrid mode
Test 3: test the partition Mode