Comparative analysis of the performance of relational and non-relational databases in applications implemented in C#

The article focuses on comparing relational and non-relational databases using applications written in C#. The aim of the study is to understand in which cases relational databases are preferred and when it is worth considering the use of non-relational databases. The research examines the speed of...

Full description

Saved in:
Bibliographic Details
Published inJournal of Computer Sciences Institute Vol. 34; pp. 44 - 53
Main Authors Baliński, Patryk, Chudy, Łukasz, Skublewska-Paszkowska, Maria
Format Journal Article
LanguageEnglish
Published Lublin University of Technology 30.03.2025
Subjects
Online AccessGet full text
ISSN2544-0764
2544-0764
DOI10.35784/jcsi.6688

Cover

More Information
Summary:The article focuses on comparing relational and non-relational databases using applications written in C#. The aim of the study is to understand in which cases relational databases are preferred and when it is worth considering the use of non-relational databases. The research examines the speed of data retrieval, updating, and deletion, in the context of five different databases, including relational ones like PostgreSQL, MySql, Oracle, and non-relational ones such as Neo4j and MongoDB. The data consists of 1,578,098 records. In the case of relational databases, a unified database model was applied, while in NoSQL databases, the data model was appropriately adjusted to the specific type of non-relational database. Differences in the execution time of database queries are analyzed based on indexing strategies and query complexity. Special attention is given to query performance efficiency in the context of using C# and libraries that facilitate the connection between the application and databases. The conducted research indicates that the PostgreSQL database achieves the lowest average query response times.
ISSN:2544-0764
2544-0764
DOI:10.35784/jcsi.6688