Skip to main content

NoSQL Comparative Performance Study

  • Conference paper
  • First Online:
Trends and Applications in Information Systems and Technologies (WorldCIST 2021)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1366))

Included in the following conference series:

Abstract

This article aims to introduce the concept of NoSQL, describe the database systems Cassandra and MongoDB, but above all, perform a comparative study (practical) of both systems, on the same dataset. The YCSB benchmark tool is to test different types of operations - reading, writing, and reading and writing - by performing these tests on various workloads, through progressive increases of clients to perform the operations, in order to compare the two solutions in terms of performance. Preliminary results show that Cassandra generally performs better in all types of operations, but it depends more on the capacity in terms of resources of the machine. On the other hand, MongoDB is able to achieve better results in a scenario where hardware resources are lower, with performance levels slightly higher than Cassandra.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Apache Cassandra Documentation. https://cassandra.apache.org/doc/latest Accessed 10 Jul 2020

  2. The MongoDB 4.4 Manual. https://docs.mongodb.com/manual Accessed 11 Jul 2020

  3. K. Bhamra. A Comparative Analysis of MongoDB and Cassandra A thesis presented for the degree of Master of Science. PhD thesis, Nov 2017

    Google Scholar 

  4. Bousalem, Z., Guabassi, I.E., Cherti, I.: Relational databases versus HBase: an experimental evaluation. Adv. Sci. Technol. Eng. Syst. J. 4(2), 395–401 (2019)

    Article  Google Scholar 

  5. Cooper, B.F.: Github - Yahoo! Cloud Serving Benchmark. https://github.com/brianfrankcooper/YCSB Accessed 11 Jul 2020

  6. Cooper, B.F.: How to Benchmark CassandraDB with YCSB Workloads on All-Flash Block Storage? https://www.msystechnologies.com/blog/how-to-benchmark-cassandradb-with-ycsb-workloads-on-all-flash-block-storage Accessed 22 Jul 2020

  7. Kamsky, A.: Performance Testing Mongodb 3.0 Part 1: Throughput Improvements Measured with YCSB. https://www.mongodb.com/blog/post/performance-testing-mongodb-30-part-1-throughput-improvements-measured-ycsb Accessed 21 Jul 2020

  8. Li, Y., Manoharan, S.: A performance comparison of SQL and NoSQL databases. In: 2013 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM), pp. 15–19, Vitoria, BC, Canada, IEEE August 2013

    Google Scholar 

  9. Mansouri, Y., Babar, M.A.: The Impact of Distance on Performance and Scalability of Distributed Database Systems in Hybrid Clouds, Jul 2020. arXiv:2007.15826

  10. Matallah, H.: Experimental comparative study of NoSQL databases: HBASE versus MongoDB by YCSB. Int. J. Comput. Syst. Sci. Eng. 32(4), 307–317 (2017)

    Google Scholar 

  11. ScaleGrid. How to Benchmark MongoDB with YCSB? https://scalegrid.io/blog/how-to-benchmark-mongodb-with-ycsb Accessed 05 Aug 2020

Download references

Acknowledgements

“This work is funded by National Funds through the FCT - Foundation for Science and Technology, I.P., within the scope of the project Ref UIDB/05583/2020. Furthermore, we would like to thank the Research Centre in Digital Services (CISeD), the Polytechnic of Viseu for their support.”

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pedro Martins .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Martins, P., Tomé, P., Wanzeller, C., Sá, F., Abbasi, M. (2021). NoSQL Comparative Performance Study. In: Rocha, Á., Adeli, H., Dzemyda, G., Moreira, F., Ramalho Correia, A.M. (eds) Trends and Applications in Information Systems and Technologies . WorldCIST 2021. Advances in Intelligent Systems and Computing, vol 1366. Springer, Cham. https://doi.org/10.1007/978-3-030-72651-5_41

Download citation

Publish with us

Policies and ethics