摘要
传统关系型数据库通过人工方式进行索引推荐,已无法适应日益增长的数据需求,而机器学习技术可以有效地解决数据库索引选择问题。针对以往仅在静态数据库下进行索引推荐且无法及时更新索引配置的局限性,提出了一种基于强化学习算法实现为数据库数据动态变化情况下的一组工作负载推荐最佳多属性索引配置的方法(multi-attribute index intelligent recommendation approach,MIRA)。在公开的TPC-H数据集上的实验结果表明,该方法不仅能有效地为一组工作负载推荐最佳的索引配置,而且优于自定义的比较基线和相关强化学习方法。
Traditional relational databases use the artificial way to achieve index recommendations that can no longer meet the growing requirement of data,and using machine learning technology can effectively solve the index optimization problem of databases.The limitation that only recommended the index in a static database and couldn’t update the index configuration in time,this paper proposed a multi-attribute index intelligent recommendation approach(MIRA)to recommend multi-attri-bute index configurations for a set of workloads using reinforcement learning under databases with dynamically changing data.Experimental results on TPC-H datasets show that MIRA can effectively recommend the optimal index configuration for workload,and outperforms the defined comparison baselines and related reinforcement learning methods.
作者
虞文波
游进国
牛祥虞
Yu Wenbo;You Jinguo;Niu Xiangyu(Faculty of Information Engineering&Automation,Kunming University of Science&Technology,Kunming 650500,China;Key Laboratory of Artificial Intelligence in Yunnan Province,Kunming University of Science&Technology,Kunming 650500,China)
出处
《计算机应用研究》
CSCD
北大核心
2023年第6期1789-1793,共5页
Application Research of Computers
基金
国家自然科学基金项目(62062046)
CCF信息系统开放项目(HZ2021F0055A)。
关键词
索引优化
索引推荐
强化学习
关系型数据库
动态数据库
index optimization
index recommendation
reinforcement learning
relational database
dynamic database