Migration & Evaluation of Automatic Query Hint Generation Method in Persistent Systems
Year: 2018
Type: dissertation
Abstract: Object-relational-mapping tools are widely used in software development to translate between object oriented programming languages and relational databases.They serve as an abstraction layer between the business logic and the underlying data layer.However, if these tools are misconfigured in terms of fetch strategy, they can cause performance losses in the shape of the N + 1 problem, which means that every association of an object gets loaded with a separate query.In systems where network latency exist, more executed queries will negatively impact performance.In this report a method to automate the configuration of fetch strategies has been evaluated.The obtained results from this study shows that the method can simplify the configuration for the developer.Moreover, the automated configuration ended up eliminating 11.3% of the queries, theoretically improving performance in systems with network delay.With the simplicity of use, the tool offers increased performance in terms of total execution time and amount of executed queries, without spending the time that manual tuning would require.However, the manually configured version performs better compared to the version with automated prefetching.In its current state, the tool would benefit from continued development and official support from the Hibernate team.
Author: Erik Jonasson
Institution: Lund University
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2954690084
