APPLICATION OF DYNAMIC PROGRAMMING FOR THE TASK OF SELECTING A QUERY PLAN IN POSTGRESQL RELATIONAL DATABASE MANAGEMENT SYSTEM

Modern databases used in various fields of science and technology operate with huge amounts of information. As a consequence, the task of accelerating the work with such data is undoubtedly urgent. The article presents one of the possible approaches to solving such a problem – optimization of query plan construction. A query plan is a specific series of data access operations or string joins that the DBMS needs to perform to obtain the result. The main idea is to find the optimal solution that achieves the minimum cost of all the operations required to execute the query. The method for upward dynamic programming was adapted to solve the extremal problem. The comparison of the considered approach with the traditional method of query plan selection on the basis of genetic algorithm has been carried out. It is shown that when the number of tables is more than 28 the presented method of upward dynamic programming requires execution time two times less than the standard method based on genetic algorithm. According to the computational experiment, the query planning time using the method decreases 3–4 times compared to the standard method. The article states that it is more rational to use upward dynamic programming when executing a query with a large number of tables. The planning and execution time during the experiment was considered to be actual.

Authors

Publication Details

Journal
RSUH/RGGU Bulletin Series Information Science Information Security Mathematics
Published
2025-01-01
DOI
https://doi.org/10.28995/2686-679x-2025-1-8-19
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

APPLICATION OF DYNAMIC PROGRAMMING FOR THE TASK OF SELECTING A QUERY PLAN IN POSTGRESQL RELATIONAL DATABASE MANAGEMENT SYSTEM

Irina V. Kozlova, Mikhail Filippov
RSUH/RGGU Bulletin Series Information Science Information Security Mathematics
Distributed and Parallel Computing Systems
article

APPLICATION OF DYNAMIC PROGRAMMING FOR THE TASK OF SELECTING A QUERY PLAN IN POSTGRESQL RELATIONAL DATABASE MANAGEMENT SYSTEM

Irina V. Kozlova, Mikhail Filippov
article en

Abstract

Modern databases used in various fields of science and technology operate with huge amounts of information. As a consequence, the task of accelerating the work with such data is undoubtedly urgent. The article presents one of the possible approaches to solving such a problem – optimization of query plan construction. A query plan is a specific series of data access operations or string joins that the DBMS needs to perform to obtain the result. The main idea is to find the optimal solution that achieves the minimum cost of all the operations required to execute the query. The method for upward dynamic programming was adapted to solve the extremal problem. The comparison of the considered approach with the traditional method of query plan selection on the basis of genetic algorithm has been carried out. It is shown that when the number of tables is more than 28 the presented method of upward dynamic programming requires execution time two times less than the standard method based on genetic algorithm. According to the computational experiment, the query planning time using the method decreases 3–4 times compared to the standard method. The article states that it is more rational to use upward dynamic programming when executing a query with a large number of tables. The planning and execution time during the experiment was considered to be actual.

RSUH/RGGU Bulletin Series Information Science Information Security Mathematics(1)
Openalex Percentile: Top 89%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.