Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)

Experimental Evaluation of Relationships Model Between Documents in MongoDB

Authors
Ade Hodijah, Urip Teguh Setijohatmo
Corresponding Author
Ade Hodijah
Available Online 22 December 2020.
DOI
10.2991/aer.k.201221.087How to use a DOI?
Keywords
MongoDB, Embedded data model, Normalized data model, Redundant data model
Abstract

MongoDB is a document-oriented database technology that supports unstructured data processing. In general, there are two approaches to modeling data relationships between entities in MongoDB, namely the Embedded and Normalized data models. This study analyzes the data processing time performance of both models and explores other data modeling possibilities. The performance analysis process was carried out by testing each type of data model using a sufficient dataset as a scientific study of the simple Q&A application representation. The test results show that the Normalized model produces the longest data processing time of all test scenarios, namely almost 27000 times longer in retrieving data than other models with the number of processed lines by 100 K dataset. This condition occurs because of the growing array of documents_ID as a reference attribute. Another model is needed that supports the ease of processing data retrieval from various possible criteria besides using the Embedded model, which is the parent document model that is seen as having relationships between entities without any further search criteria. The mechanism for making relations from the Embedded model is by embedding an object from the complete child document. This study proposes the development of the Normalized data model, which is supporting the search criteria as references attributees between documents, which is called the Redundant data model.

Copyright
© 2020, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)
Series
Advances in Engineering Research
Publication Date
22 December 2020
ISBN
10.2991/aer.k.201221.087
ISSN
2352-5401
DOI
10.2991/aer.k.201221.087How to use a DOI?
Copyright
© 2020, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Ade Hodijah
AU  - Urip Teguh Setijohatmo
PY  - 2020
DA  - 2020/12/22
TI  - Experimental Evaluation of Relationships Model Between Documents in MongoDB
BT  - Proceedings of the International Seminar of Science and Applied Technology (ISSAT 2020)
PB  - Atlantis Press
SP  - 525
EP  - 531
SN  - 2352-5401
UR  - https://doi.org/10.2991/aer.k.201221.087
DO  - 10.2991/aer.k.201221.087
ID  - Hodijah2020
ER  -