Performance Impact of Optimization Methods on MySQL Document-Based and Relational Databases

Cornelia Győrödi, Diana V. Dumşe-Burescu, Robert Győrödi, Doina Zmaranda, Livia Bandici, Daniela Elena Popescu

Applied Sciences · 2021 · 34 citations · 10 references

DOIFull text

Open access

Concepts

TL;DR

Databases are essential for modern applications that require rapid storage, processing, and access of large data volumes, with performance being a key selection criterion. This study compares how optimization methods affect CRUD performance in MySQL relational and document-based databases. The authors applied structural and query optimizations to both MySQL relational and document-based systems, then evaluated CRUD operations using a Java-based case study across varying data sizes to measure response time and complexity. Optimizations significantly improved performance for both database types, enabling the authors to draw conclusions that aid in selecting the appropriate approach.

Abstract

Databases are an important part of today’s applications where large amounts of data need to be stored, processed, and accessed quickly. One of the important criteria when choosing to use a database technology is its data processing performance. In this paper, some methods for optimizing the database structure and queries were applied on two popular open-source database management systems: MySQL as a relational DBMS, and document-based MySQL as a non-relational DBMS. The main objective of this paper was to conduct a comparative analysis of the impact that the proposed optimization methods have on each specific DBMS when carrying out CRUD (CREATE, READ, UPDATE, DELETE) requests. To perform the analysis and performance evaluation of CRUD operations for different amounts of data, a case study testing architecture based on Java was developed and used to show how the databases’ proposed optimization methods can influence the performance of the application, and to highlight the differences in response time and complexity. The results obtained show the degree to which the proposed optimization methods contributed to the application’s performance improvement in the case of both databases; based on these, a detailed analysis and several conclusions are presented to support a decision for choosing a specific approach.

References

10