Efficient handling of recursive relationships in ORM frameworks using Entity Framework Core as an example
dc.contributor.author | Killisch, Benjamin Uwe | |
dc.contributor.editor | König-Ries, Birgitta | |
dc.contributor.editor | Scherzinger, Stefanie | |
dc.contributor.editor | Lehner, Wolfgang | |
dc.contributor.editor | Vossen, Gottfried | |
dc.date.accessioned | 2023-02-23T14:00:23Z | |
dc.date.available | 2023-02-23T14:00:23Z | |
dc.date.issued | 2023 | |
dc.description.abstract | ORM frameworks are a popular method to bridge the differences between object-oriented programming and relational data management. At the same time, recursive relationships are present in many schemas to represent tree-like or net-like structures. This paper discusses how to efficiently build and execute queries for data with recursive relationships in ORM frameworks. Five possible solutions are conceived and then implemented in Entity Framework Core (EF Core), while making sure that they can be used like regular LINQ queries. Next, the solutions are tested with different SQL dialects. The results of these tests are then analyzed by a variety of test parameters. This analysis shows that queries with recursive common table expressions and queries using key loading are the most efficient. Queries with auxiliary property, vertical unrolling or horizontal unrolling are either too slow or only usable under particular circumstances. The analysis also shows that the performance of the solutions is always dependent on the circumstances, especially the SQL dialect. | en |
dc.identifier.doi | 10.18420/BTW2023-78 | |
dc.identifier.isbn | 978-3-88579-725-8 | |
dc.identifier.uri | https://dl.gi.de/handle/20.500.12116/40388 | |
dc.language.iso | en | |
dc.publisher | Gesellschaft für Informatik e.V. | |
dc.relation.ispartof | BTW 2023 | |
dc.relation.ispartofseries | Lecture Notes in Informatics (LNI) - Proceedings, Volume P-331 | |
dc.subject | Object-Relational Mapping | |
dc.subject | Recursive | |
dc.subject | Relationships | |
dc.subject | Queries | |
dc.title | Efficient handling of recursive relationships in ORM frameworks using Entity Framework Core as an example | en |
dc.type | Text/Conference Paper | |
gi.citation.endPage | 1111 | |
gi.citation.publisherPlace | Bonn | |
gi.citation.startPage | 1105 | |
gi.conference.date | 06.-10. März 2023 | |
gi.conference.location | Dresden, Germany |
Dateien
Originalbündel
1 - 1 von 1
Vorschaubild nicht verfügbar
- Name:
- C4-8.pdf
- Größe:
- 90.85 KB
- Format:
- Adobe Portable Document Format