An Analysis of the Performance and Configuration Features of MySQL Document Store and Elasticsearch as an Alternative Backend in a Data Replication Solution
Source abstract
Abstract
In recent years, with the increase in the volume and complexity of data, choosing a suitable database for storing huge amounts of data is not easy, because it must consider aspects such as manageability, scalability, and extensibility. Nowadays, the NoSQL databases have gained immense popularity for their efficiency in managing such datasets compared to relational databases. However, relational databases also exhibit some advantages in certain circumstances, therefore many applications use a combined approach: relational and non-relational. This paper performs a comparative evaluation of two popular open-source DBMSs: MySQL Document Store and Elasticsearch as non-relational DBMSs; this comparison is based on a detailed analysis of CRUD operations for different amounts of data showing how the databases could be modeled and used in an application. A case-study application was developed for this purpose in Java programming language and Spring framework using for data storage both relational MySQL and non-relational Elasticsearch and MySQL Document Store. To model the real situation encountered in several developed applications that use both relational and non-relational databases, a data replication solution that imports data from the primary relational MySQL database into Elasticsearch and MySQL Document Store as possible alternatives for more efficient data search was proposed and implemented.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Cloud Computing and Resource Management · Distributed systems and fault tolerance · IoT and Edge/Fog Computing
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computers and Information Technology, University of Oradea, 410087 Oradea, Romania
Department of Computer Science and Information Technology, Faculty of Electrical Engineering and Information Technology, University of Oradea, 410087 Oradea, Romania
Department of Electrical Engineering, University of Oradea, 410087 Oradea, Romania
References (17)
Show source-provided references
1. Seda, P., Hosek, J., Masek, P., and Pokorny, J. (2018, January 22–25). Performance Testing of NoSQL and RDBMS for Storing Big Data in e-Applications. Proceedings of the 3rd International Conference on Intelligent Green Building and Smart Grid (IGBSG), Yi-Lan, Taiwan.10.1109/IGBSG.2018.8393559 ↗
2. A comparative study of relational and non-relational database models in a Web-based application
3. Győrödi, C.A., Dumşe-Burescu, D.V., Zmaranda, D.R., Győrödi, R.Ş., Gabor, G.A., and Pecherle, G.D. (2020). Performance Analysis of NoSQL and Relational Databases with CouchDB and MySQL for Application’s Data Storage. Appl. Sci., 10.10.3390/app10238524 ↗
4. Buck, A., Wasson, M., and Wilson, M. (2021, August 21). Non-Relational Data and NoSQL. Available online: https://docs.microsoft.com/en-us/azure/architecture/data-guide/big-data/non-relational-data.
5. Scalable SQL and NoSQL data stores10.1145/1978915.1978919 ↗
6. Gormley, C., and Tong, Z. (2015). Elasticsearch: The Definitive Guide: A Distributed Real-Time Search and Analytics Engine, O’Reilly Media, Inc.
7. Hinman, M.L., Gheorghe, R., and Russo, R. (2015). Elasticsearch in Action, Manning Publications Shelter Island. [1st ed.].
8. An analysis on the comparison of the performance and configuration features of big data tools Solr and Elasticsearch10.18201/ijisae.271328 ↗
9. Gupta, S., and Rani, R. (2016, January 26–27). A comparative study of Elasticsearch and CouchDB document oriented databases. Proceedings of the 2016 International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India.10.1109/INVENTIVE.2016.7823252 ↗
10. Big Data Processing for Full-Text Search and Visualization with Elasticsearch
11. Evaluation of NoSQL databases for DIRAC monitoring and beyond10.1088/1742-6596/664/4/042036 ↗
12. A framework for social media data analytics using Elasticsearch and Kibana
13. Panche, R., Ilijoski, B., and Tojtovska, B. (2021, August 24). Comparing Databases for Inserting and Querying JSONs for Big Data. Available online: https://proceedings.ictinnovations.org/attachment/paper/518/comparing-databases-for-inserting-and-querying-jsons-for-big-data.pdf.
14. Kalid, S., Syed, A., Mohammad, A., and Halgamuge, M.N. (2017, January 10–12). Big-data NoSQL databases: A comparison and analysis of “Big-Table”, “DynamoDB”, and “Cassandra”. Proceedings of the IEEE 2nd International Conference on Big Data Analysis (ICBDA), Beijing, China.10.1109/ICBDA.2017.8078782 ↗
15. A Survey on Implementation of Column-Oriented NoSQL Data Stores (Bigtable and Cassandra)
16. (2021, August 31). Getting Started with Grafana and Prometheus. Available online: https://grafana.com/docs/grafana/latest/getting-started/getting-started-prometheus/.
17. Narkhede, N., Shapira, G., and Palino, T. (2017). Kafka: The Definitive Guide: Real-Time Data and Stream Processing at Scale, O’Reilly Media, Inc.