Concurrency performance test comparison between MySQL and MongoDB

Concurrency performance test comparison between MySQL and MongoDB

As I said in the previous article, I am going to do a concurrency comparison test between MongoDB and Mysql. After nearly a week of testing, it has been completed. The results are as follows: Concurrency comparison test curve between MongoDB and Mysql: Let’s roughly summarize: From the data and charts, we can see that under the concurrency test, the advantage of MongoDB over Mysql is not as great as that of a single user (refer to the previous test article in this space). The insert and update performance of MongoDB is about 2~3 times that of Mysql, and MongoDB is equivalent to Mysql in terms of select. Test environment: CPU: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz Memory: 4G Hard disk: ordinary SATA hard disk 500G OS: Centos Linux 5.4 X64 Mysql version: 5.0.77, MongoDB is 1.40 compiled by itself. The above results are tested by the Java program (http://farmerluo.googlecode.com/files/mongotest-0.4.rar) written before, because there is only one test machine, and the test program is the same as mysql and MongoDB running the tests on the same machine.

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索