journal article·2024-10-28Open access

Concurrent Access Performance Comparison Between Relational Databases and Graph NoSQL Databases for Complex Algorithms

Elena Lupu, Adriana Olteanu, Anca Daniela Ionita

Applied Sciences· Volume 14· Issue 21

Abstract

Databases are a fundamental element of contemporary software applications. The most widely used and recognized type in practice is the relational database, valued for its ability to store and organize data in tabular structures, its emphasis on data consistency and integrity, and its use of a standardized query language, SQL. However, with the rapid increase in both the volume and complexity of data, relational databases have recently encountered challenges in effectively modeling this expanding information. To address performance challenges, new database systems have emerged, offering alternative approaches to data modeling—these are known as NoSQL databases. In this paper, we present an indoor navigation application designed to operate on both a relational database, Microsoft SQL Server, and a graph-based NoSQL database, Neo4j. We describe the algorithms implemented for testing and the performance metrics analyzed to draw our conclusions. The results revealed Neo4j’s strength in managing data with complex relationships but also exposed its limitations in handling concurrent access, where SQL Server demonstrated significantly greater stability.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Graph Theory and Algorithms · Data Management and Algorithms · Cloud Computing and Resource Management

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Automatic Control and Computer Science, National University of Science and Technology Politehnica Bucharest, 313 Splaiul Independenței, 060042 Bucharest, Romania

References (17)

Show source-provided references
1. (2024, June 03). Transact-SQL Reference (Database Engine). Available online: https://learn.microsoft.com/en-us/sql/t-sql/.
2. Oracle (2024, September 13). 17 Use Cases for Graph Databases and Graph Analytics. Available online: https://www.oracle.com/a/ocom/docs/graph-database-use-cases-ebook.pdf.
3. Webber, J. (2024, September 13). The Top 10 Use Cases of Graph Database Technology, Unlock New Possibilities with Connected Data. Available online: https://go.neo4j.com/rs/710-RRC-335/images/Neo4j-Top-10-Use-Cases-EN-US.pdf.
4. Damian, I., Ionita, A.D., and Anton, S.O. (2022). Community- and Data-Driven Services for Multi-Policy Pedestrian Routing. Sensors, 22.10.3390/s22124515 ↗
5. Elmasri, R., and Navathe, S.B. (2015). Fundamentals of Database Systems, Pearson. [7th ed.].
6. Survey of graph database models10.1145/1322432.1322433 ↗
7. Database management system performance comparisons: A systematic literature review10.1016/j.jss.2023.111872 ↗
8. Khan, W., Kumar, T., Cheng, Z., Raj, K., Roy, A., and Luo, B. (2023). SQL and NoSQL Databases Software architectures performance analysis and assessments—A Systematic Literature review. Big Data Cogn. Comput., 7.10.3390/bdcc7020097 ↗
9. 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 ↗
10. Khan, W., Ahmad, W., Luo, B., and Ahmed, E. (2019, January 15–17). SQL Database with physical database tuning technique and NoSQL graph database comparisons. Proceedings of the 2019 IEEE 3rd Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chengdu, China.10.1109/ITNEC.2019.8729264 ↗
11. Kotiranta, P., Junkkari, M., and Nummenmaa, J. (2022). Performance of Graph and Relational Databases in Complex Queries. Appl. Sci., 12.10.3390/app12136490 ↗
12. Jain, M., Khanchandani, A., and Rodrigues, C. (2023). Performance Comparison of Graph Database and Relational Database, Computer Science Department, San Jose State University. Technical Report.
13. Robinson, I., Webber, J., and Eifrem, E. (2015). Graph Databases: New Opportunities for Connected Data, O’Reilly Media, Inc.. [2nd ed.].
14. Cormen, T.H., Leiserson, C.E., Rivest, R.L., and Stein, C. (2009). Introduction to Algorithms, MIT Press. [3rd ed.].
15. (2024, September 13). Neo4j Documentation. Available online: https://neo4j.com/docs/.
16. (2024, June 03). Neo4j Knowledge Base. Available online: https://neo4j.com/developer/kb/.
17. (2024, September 13). NET API Documentation. Available online: https://learn.microsoft.com/en-us/dotnet/api/.