Comparative analysis of database mapping frameworks available in NuGet Manager

Maciej Klimiuk

maciej.klimiuk@pollub.edu.pl
Department of Computer Science, Lublin University of Technology (Poland)

Paweł Karabowicz


Department of Computer Science, Lublin University of Technology (Poland)

Małgorzata Plechawska-Wójcik


Department of Computer Science, Lublin University of Technology (Poland)
https://orcid.org/0000-0003-1055-5344

Abstract

Every year amount of data significantly grows. This causes a need of tools capable of processing data as quickly as possible. The aim of this article is to perform a comparative analysis of ORM (Object Relational Mapping) tools available in the NuGet manager. The comparison of tools was carried out on two relational database management systems, PostgreSQL and MySQL. Each tool performed eight DML operations, including SELECT, INSERT and UPDATE operations. The operations were repeated 1, 10, 100, 1000, and 10,000 times, respectively. The execution time of each query was measured using the system StopWatch class available in the .NET environment. The results showed that the best ORM tool turned out to be Dapper.


Keywords:

performance analysis, ORM, Dapper, OrmLite

What is an ORM – The Meaning of Object Relational Mapping Database Tools, https://www.freecodecamp.org/news/what-is-an-orm-the-meaning-of-object-relational-mapping-database-tools/, [10.11.2023].
  Google Scholar

What is SQL (Structured Query Language)?, https://aws.amazon.com/what-is/sql/, [10.06.2024].
  Google Scholar

K. Barczak, The Examination of SQL Queries Efficiency in Chosen IT System, Journal of Computer Sciences Institute 28 (2023) 186–189, https://doi.org/10.35784/jcsi.3606.
  Google Scholar

P. Rymarski, Analysis of the possibilities of optimizing SQL queries, Master thesis, Lublin University of Technology, Lublin, 2021.
  Google Scholar

Z. Łata, Performance analysis of databases created in virtualized and containerized environment, Master thesis, Lublin University of Technology, Lublin, 2023.
  Google Scholar

S. Cvetković, D. Janković, A Comparative Study of the Features and Performance of ORM Tools in a .NET Environment, In International Conference on Object and Databases (2010) 147–158, https://doi.org/10.1007/978-3-642-16092-9_14.
  Google Scholar

M. Myllyaho Forsberg, An evaluation of .NET Object-Relational Mappers in relational databases Entity Framework Core and Dapper, Bachelor thesis, Umeå University, Umeå, 2022.
  Google Scholar

T. Nowicki, S. Tomczak, Comparative analysis of the time performance of database queries in C# language, Master thesis, Lublin University of Technology, Lublin, 2022.
  Google Scholar

What Is C# Entity Framework? A Comprehensive Guide, https://www.simplilearn.com/tutorials/asp-dot-net-tutorial/entity-framework-in-c-sharp, [10.11.2023].
  Google Scholar

Welcome To Learn Dapper, https://www.learndapper.com/, [10.11.2023].
  Google Scholar

NHibernate, https://www.tutorialspoint.com/nhibernate/nhibernate_overview.htm, [10.11.2023].
  Google Scholar

OrmLite, https://ormlite.com/javadoc/ormlite-core/doc-files/ormlite.html, [10.11.2023].
  Google Scholar

Baza danych Northwind, https://github.com/harryho/db-samples, [05.06.2024].
  Google Scholar

Download


Published
2024-09-30

Cited by

Klimiuk, M., Karabowicz, P., & Plechawska-Wójcik, M. (2024). Comparative analysis of database mapping frameworks available in NuGet Manager. Journal of Computer Sciences Institute, 32, 231–238. https://doi.org/10.35784/jcsi.6308

Authors

Maciej Klimiuk 
maciej.klimiuk@pollub.edu.pl
Department of Computer Science, Lublin University of Technology Poland

Authors

Paweł Karabowicz 

Department of Computer Science, Lublin University of Technology Poland

Authors

Małgorzata Plechawska-Wójcik 

Department of Computer Science, Lublin University of Technology Poland
https://orcid.org/0000-0003-1055-5344

Statistics

Abstract views: 58
PDF downloads: 51


License

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.