izpis_h1_title_alt

Optimizacija poizvedb SQL
ID RAMŠAK, NINA (Author), ID Bajec, Marko (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (2,26 MB)
MD5: A35EF28DE6091C41F259F5C67F60DC59

Abstract
Diplomsko delo se osredotoča na metode optimizacije poizvedb SQL. Kot uvod v optimizacijo predstavimo modeliranje s podatki in podatkovne baze. Prav tako namenimo poglavje jeziku SQL, kjer navedemo vse njegove značilnosti, sintakso in način pisanja poizvedb. V nadaljevanju preučimo številne metode za optimizacijo poizvedb SQL z vidika uporabnika, torej samo sintakso. Naredimo končen povzetek, kjer predstavimo posamezne problematične komponente poizvedb in načine, kako jih nadomestiti oziroma izboljšati uporabo. Teorijo nato preizkusimo v praksi na treh različno težavnih primerih. Podano imamo poslovno zahtevo, ki jo implementiramo v obliki poizvedbe SQL na okolju Snowflake. Prvotno poizvedbo nato poskusimo sintaktično popraviti, izboljšati tako, da se sklicujemo na predstavljeno teorijo optimizacije. Po optimizaciji se vsi trije testni primeri izvedejo hitreje, torej smo dokazali, da način pisanja poizvedb vpliva na njihovo zmogljivost.

Language:Slovenian
Keywords:SQL, poizvedba, podatkovna baza, optimizacija
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
Year:2023
PID:20.500.12556/RUL-149502 This link opens in a new window
COBISS.SI-ID:164181251 This link opens in a new window
Publication date in RUL:07.09.2023
Views:864
Downloads:76
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:SQL Query Optimization
Abstract:
The diploma thesis focuses on SQL query optimization methods. As an introduction to optimization, we introduce data modeling and databases. We also dedicate a chapter to the SQL language, where we list all its features, its syntax, and the way queries are written. In the next chapter, we examine a number of methods for optimizing SQL queries from the user’s point of view, i.e., the syntax itself. We make a final summary where we present the individual problematic components of the queries and ways to replace them or improve their use. We then test the theory in practice on three different cases of varying difficulty. Given the business requirement, we implement it as an SQL query in the Snowflake environment. We then try to syntactically correct and improve the original query by referring to the presented optimization theory. After optimization, all three test cases are executed faster, so we have shown that the way queries are written affects their performance.

Keywords:SQL, query, database, optimization

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back