AUTONOMOUS INDEX RECOMMENDATION SYSTEM FOR RELATIONAL DATABASES BASED ON COST-MODEL AND PLAN COVERING

Authors

  • Vitalii Holubinka Lviv Polytechnic National University, Institute of Computer Sciences and Information Technologies, Department of Information Systems and Networks, Lviv,, Ukraine https://orcid.org/0009-0001-3676-3566

DOI:

https://doi.org/10.20535/kpisn.2026.2.352454

Keywords:

database indexing, query optimization, autonomous recommendation systems, cost mode, Plan Covering

Abstract

Background. Indexing is a key tool for improving the performance of relational databases, but manual index selection remains complex and subjective. As data volumes grow, the demands on the adaptability of optimization systems increase. Machine and deep learning-based approaches provide high accuracy, but require significant resources and have a “cold start” problem, which necessitates autonomous solutions with balanced accuracy and complexity characteristics.

Objective. Development and experimental evaluation of an autonomous index recommendation system that combines a cost-model with a Plan Covering algorithm to improve query performance in relational databases while simultaneously taking into account the cost of index storage.

Methods. The system has a pipeline architecture and includes a workload analyzer, a cost model, and a Plan Covering algorithm. The analyzer generates a query profile, the cost model evaluates their performance with hypothetical indexes, and the algorithm performs a greedy index selection based on the benefit-to-cost ratio. Experimental testing was performed on a synthetic e-commerce system dataset in the PostgreSQL environment.

Results. The system generated 7 index recommendations, of which 6 were successfully created. The average query execution time improvement was 22.54%, with the largest improvement (26.06%) being obtained for the most frequently executed query with the JOIN operation. The total execution time of all queries decreased from 0.2751 s to 0.2131 s.

Conclusions. The proposed combination of Cost-Model and Plan Covering provides effective automation of the indexing process without the use of resource-intensive neural network approaches, demonstrating a significant improvement in performance and rational use of storage resources.

 

References

S. Huang et al., “Survey on performance optimization for database systems,” Science China Information Sciences, vol. 66, no. 12, pp. 1–22, 2023. https://doi.org/10.1007/s11432-021-3578-6

J. Shi, G. Cong, and X. L. Li, “Learned index benefits: Machine learning based index performance estimation,” Proceedings of the VLDB Endowment, vol. 15, no. 13, pp. 3950–3962, 2022. https://doi.org/10.14778/3565838.3565848

H. Lan, Z. Bao, and Y. Peng, “An index advisor using deep reinforcement learning,” in Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM), 2020, pp. 2105-2108.

https://doi.org/10.1145/3340531.3412106

X. Huang, X. Gao, and G. Chen, “Ditune: A reinforcement learning based framework for automated database index selection,” in Proceedings of the 18th International Conference on Ubiquitous Information Management and Communication (IMCOM), 2024, pp. 1-8. https://doi.org/10.1109/IMCOM60618.2024.10418292

Downloads

Published

2026-06-29