时序图模式匹配的查询优化
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

山西省科技合作交流专项 (202204041101033); 山西省基础研究计划(202203021222075)


Query Optimization of Temporal Graph Pattern Matching
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    图模拟被广泛应用于近似回答复杂的图模式匹配问题. 针对时序图模式匹配的查询效率问题, 本文提出一种基于联合图的SimAssign图模拟算法及动态规划的优化框架. 其核心思想在于: (1)将时序图的快照序列合并为联合图, 首先利用静态图模拟算法在联合图上计算初始查询结果, 然后根据时间区间将结果分发至每个快照, 从而生成相应的匹配结果; (2)为图模拟策略构建统一的代价模型, 并基于动态规划优化图模式匹配的执行策略. 本文在真实数据集和合成数据集上进行了全面实验, 实验结果表明代价模型能够准确估计静态图模拟、增量图模拟以及SimAssign等图模拟策略的执行代价, 并且优化方法能够选择出最优的执行方案. 在绝大多数情况下, SimAssign的性能显著优于静态图模拟和增量式图模拟算法, 在部分实验中SimAssign的性能达到增量法的4倍.

    Abstract:

    Graph simulation is widely adopted to approximately solve complex graph pattern matching problems. To enhance the query efficiency for matching temporal graph patterns, this study proposes a simulation algorithm, SimAssign, which is based on a union graph model, along with a dynamic programming based query optimization framework. The proposed approach consists of two main components: (1) a sequence of temporal graph snapshots is merged into a union graph, on which initial query results are computed using a static graph simulation algorithm; these results are then partitioned according to temporal intervals to generate matching results for each snapshot; (2) a unified cost model is developed to support various graph simulation strategies, and a dynamic programming framework is introduced to identify optimal execution plans based on this model. Extensive experiments on both real and synthetic datasets demonstrate that the cost model accurately estimates the execution costs of static graph simulation, incremental graph simulation, and SimAssign. Moreover, the proposed optimization framework consistently selects optimal strategies. In most cases, SimAssign substantially outperforms both static and incremental simulation methods, with performance improvements reaching up to four times that of the incremental approach on certain datasets.

    参考文献
    相似文献
    引证文献
引用本文

覃紫云,郭青松,马国帅,张凯涵,石琼,蔡江辉.时序图模式匹配的查询优化.计算机系统应用,2025,34(11):42-55

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-03-26
  • 最后修改日期:2025-04-29
  • 录用日期:
  • 在线发布日期: 2025-09-30
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62661041 传真: Email:csa@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号