Analysis of the possibilities of optimizing SQL queries

Main Article Content

DOI

Piotr Rymarski

piotr.rymarski@pollub.edu.pl

Grzegorz Kozieł

g.koziel@pollub.pl

Abstract

Most of today's web applications run on relational database systems. Communication with them is possible through statements written in Structured Query Language (SQL). This paper presents the most popular relational database management systems and describes common ways to optimize SQL queries. Using the research environment based on fragment of the imdb.com database, implementing OracleDb, MySQL, Microsoft SQL Server and PostgreSQL engines, a number of test scenarios were performed. The aim was to check the performance changes of SQL queries resulting from syntax modication while maintaining the result, the impact of database organization, indexing and advanced mechanisms aimed at increasing the eciency of operations performed, delivered in the systems used. The tests were carried out using a proprietary application written in Java using the Hibernate framework.

Keywords:

query;, optimization;, analysis

References

Article Details

Rymarski, P., & Kozieł, G. (2021). Analysis of the possibilities of optimizing SQL queries. Journal of Computer Sciences Institute, 19, 151–158. https://doi.org/10.35784/jcsi.2641