Tuesday, May 12, 2015

TokuMX vs MongoDB benchmark

              MongoDB has grown into a popular NoSQL database in a really short interval of time. With its document oriented structure and bson format storage.MongoDB has captivated the hearts of developers. We have been working on several mongoDB related benchmarks and in the recent times we came across Tokutek’s TokuMx which is a fork of mongoDB with the promising Fractal tree index.
               Several of Tokutek’s benchmarks prove that the performance of  TokuMx is nearly 50x faster , 90% reduction in database size. The details and the graphs given by them were quite impressive. We tried our own benchmarks and were surprised to get the below results.

Our benchmark was done on a centos 7 machine with the below configuration:

CPU no(s)       : 4
CPU speed      : 2361.140 MHz
RAM Total      :  3768708 kB
  
                The insert benchmark was carried by inserting different number of documents and the time take for each insert was observed. The below graph depicts it.
insert.png
                    We then pulled out the data that we inserted with different sets of rows and the time taken for each select query was noted.
select.png
                       We also noted down down the size of the database on disk and made a comparison.



size on disk\.png
 

Hope this benchmarking gives all a clear comparison between MongoDB and TokuMx.




1 comment:

  1. Hi,

    I know this article is old but I need to replace slow mongodb with something faster in one project. So this benchmark is quite usefull for me. I think it would be good to mention which version of mongodb and tokumx you have used for testing.

    Thanks

    ReplyDelete