SOAR: A Learned Join Order Selector with Graph Attention Mechanism.

IEEE International Joint Conference on Neural Network (IJCNN)(2022)

引用 0|浏览3
暂无评分
摘要
Optimal join order selection often leads to optimal query execution plans while traversing the solution space is almost impossible which expands rapidly with the increase of join complexity. In the past research, considerable attention has been paid to heuristic rules for pruning. However, that may not work well facing complex SQL queries. Recent use of the reinforcement learning avoids traversing the solution space, but inaccurate long-term rewards may be obtained because of the inconsistent influence of various parts in the join tree. In this paper, SOAR is proposed, a novel learned optimizer that selects join orders through reinforcement learning with graph attention network. SOAR captures the tree structure by inputting the join tree in which each node carries database features into graph neural network and learns the inconsistent influence of join tree on long-term reward with graph attention mechanism in the process of reinforcement learning. The preliminary results demonstrate that SOAR can match or outperform the optimizer in PostgreSQL.
更多
查看译文
关键词
Query Optimization,Join Order Selection,Graph Attention Mechanism,Reinforcement Learning
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要