Skip to main content

An Evaluation of Data Model for NoSQL Document-Based Databases

  • Conference paper
Trends and Advances in Information Systems and Technologies (WorldCIST'18 2018)

Abstract

NoSQL databases offer flexibility in the data model. The document-based databases may have some data models built with embedded documents, and others made with referenced documents. The challenge lies in choosing the structure of the data. This paper proposes a study to analyze if different data models can have an impact on the performance of database queries. To this end, we created three data models: embedded, referenced, and hybrid. We ran experiments on each data model in a MongoDB cluster, comparing the response time of 3 different queries in each model. Results showed a disparity in performance between the data models. We also evaluated the use of indexes in each data model. Results showed that, depending on the type of query and field searched some types of indexes presented higher performance compared to others. Additionally, we carried out an analysis of the space occupied on the storage disk. This analysis shows that the choice of model also affects disk space for storing data and indexes.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.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

Notes

  1. 1.

    DB-Engines lists the most popular database management systems on a monthly basis. Ranking of November 2017. Link: https://db-engines.com/en/ranking.

References

  1. Kang, Y.S., Park, I.H., Rhee, J., Lee, Y.H.: MongoDB-based repository design for IoT-generated RFID sensor big data. IEEE Sens. J. 16, 485–497 (2016)

    Article  Google Scholar 

  2. Chickerur, S., Goudar, A., Kinnerkar, A.: Comparison of relational database with document-oriented database mongodb for big data applications. In: 8th International Conference on Advanced Software Engineering and Its Applications ASEA, pp. 41–47. IEEE (2015)

    Google Scholar 

  3. Li, Y., Manoharan, S.: A performance comparison of SQL and NoSQL databases. IEEE Pacific Rim Conference on Communications, Computers and Signal Processing PACRIM 2013, 15–19 (2013)

    Google Scholar 

  4. Kanoje, S., Powar, V., Mukhopadhyay, D.: Using MongoDB for Social Networking Website. arXiv preprint: arXiv:1503.06548 (2015)

  5. Alekseev, A.A., Osipova, V.V., Ivanov, M.A., Klimentov, A., Grigorieva, N.V., Nalamwar, H.S.: Efficient data management tools for the heterogeneous big data warehouse. Phys. Particles Nucl. Lett. 13, 689–692 (2016)

    Article  Google Scholar 

  6. Jiang, W., Zhang, L., Liao, X., Jin, H., Peng, Y.: A novel clustered MongoDB-based storage system for unstructured data with high availability. Computing 96, 455–478 (2014)

    Article  Google Scholar 

  7. Kanade, A., Gopal, A.: A novel approach of hybrid data model in MongoDB. IUP J. Comput. Sci. 9 (2015)

    Google Scholar 

  8. Xiang, L., Huang, J., Shao, X., Wang, D.: A MongoDB-based management of planar spatial data with a flattened R-tree. ISPRS - Int. J. Geo-Inf. 5 (2016)

    Article  Google Scholar 

  9. Banker, K.: MongoDB in Action. Manning Publications (2016)

    Google Scholar 

  10. Corbellini, A., Mateos, C., Zunino, A., Godoy, D., Schiaffino, S.: Persisting big-data: the NoSQL landscape. Inf, Syst (2017)

    Google Scholar 

  11. Vera, H., Wagner, B., Maristela, H., Valeria, G., Fernanda, H.: Data modeling for NoSQL document-oriented databases. In: CEUR Workshop Proceedings (2015)

    Google Scholar 

  12. Sadalage, P.J., Fowler, M.: NoSQL Distilled: a Brief Guide to the Emerging World of Polyglot Persistence. Pearson Education (2012)

    Google Scholar 

  13. FIES.: Fund of Student Funding. http://sisfiesportal.mec.gov.br/index.php. FIES dataset, http://www.fnde.gov.br/dadosabertos/dataset/fundo-de-financingestudantil-fies/ or http://dados.gov.br/dataset/fundo-de-financiamento-estudantil-fies/. Accessed April 2017

  14. MongoDB, Inc.: The MongoDB 3.4 Manual. https://docs.mongodb.com/manual/. Accessed April 2017

  15. Repository at GitHub (2017). https://github.com/reisdebora/mongodatamodels

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Debora G. Reis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Cite this paper

Reis, D.G., Gasparoni, F.S., Holanda, M., Victorino, M., Ladeira, M., Ribeiro, E.O. (2018). An Evaluation of Data Model for NoSQL Document-Based Databases. In: Rocha, Á., Adeli, H., Reis, L.P., Costanzo, S. (eds) Trends and Advances in Information Systems and Technologies. WorldCIST'18 2018. Advances in Intelligent Systems and Computing, vol 745. Springer, Cham. https://doi.org/10.1007/978-3-319-77703-0_61

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-77703-0_61

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-77702-3

  • Online ISBN: 978-3-319-77703-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics