APEX: Adaptive Variable-Wise Parallel Execution for Worst-Case Optimal Joins on Graph Queries
Yipeng Liu, Yuming Lin, Zhicheng Pan, Chengcheng Yang, You Li, Aoying Zhou
摘要
Graph queries are ubiquitous in graph databases and knowledge graphs, supporting applications such as recommender systems, question answering, and semantic search. In recent years, worst-case optimal join (WCOJ) algorithms play a critical role in evaluating graph queries. However, their practical performance is hindered by load imbalance in parallelization and poor execution order of join variables. In this paper, we propose APEX, Adaptive variable-wise Parallel EXecution for WCOJ on graph queries. First, APEX parallelizes the core intersection operations in Leapfrog Triejoin by materializing and organizing all intersection results for a variable at once. This is enabled by a candidate propagation graph, which captures dependencies among variables and their intersection results. Second, we further propose a reinforcement learning policy with a graph convolutional network encoder that selects the next variable based on query structure and runtime feedback. To accelerate lookups on the candidate propagation graph, we introduce two techniques: (i) dependency-source detection to prune the traversal space, and (ii) a Bloom filter to avoid redundant checks. Extensive experiments on diverse real-world and synthetic datasets demonstrate that APEX achieves up to speedup over state-of-the-art baselines.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- ADOPT: Adaptively Optimizing Attribute Orders for Worst-Case Optimal Join Algorithms via Reinforcement LearningJunxiong Wang, Immanuel Trummer, Ahmet Kara, Dan OlteanuVLDB 2023 · 被引用 10 次
- Worst-Case Optimal BGPs on Temporal GraphsDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. ReutterVLDB 2026
- Worst-Case-Optimal Similarity Joins on Graph DatabasesDiego Arroyuelo, Benjamin Bustos, Adrián Gómez-Brandón, Aidan Hogan 等SIGMOD 2024 · 被引用 3 次
- R2O: A Dual-Layer Framework for Joint Rewriting and Ordering in Distributed Property Graph Query OptimizationMin Shi, Peng Peng, Xin Xiao, Lei Zou 等SIGMOD 2026
- Efficient Join Order Selection Learning with Graph-based RepresentationJin Chen, Guanyu Ye, Yan Zhao, Shuncheng Liu 等KDD 2022 · 被引用 27 次
