paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Finding bugs in Gremlin-based graph database systems via Randomized differential testing

通过随机差分测试发现基于 Gremlin 的图数据库系统中的缺陷
ISSTA Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis2022匹配度 1/10 · 该论文研究 Gremlin 图数据库的随机差分测试,属于软件测试与数据库测试方向;与用户关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析及贝叶斯程序分析均无直接关联。引用 41 inbox
Yingying Zheng, Wensheng Dou, Yicheng Wang, Zheng Qin, Lei Tang, Yu Gao, Dong Wang, Wei Wang, Jun Wei
crossref: 2026-09-12

AI 速览

一句话:提出面向基于 Gremlin 的图数据库系统的随机差分测试方法,自动发现导致查询结果错误的逻辑缺陷。

图数据库系统在知识图谱、社交网络和欺诈检测等应用中至关重要,但其逻辑错误——即给定查询返回错误结果——却比关系数据库系统受到更少关注。本文提出一种随机差分测试方法,针对基于 Gremlin 的图数据库系统进行缺陷检测:随机生成图数据与 Gremlin 查询,在多个图数据库系统上执行并比较查询结果,将结果不一致视为潜在逻辑错误。该方法旨在缓解复杂图与查询下错误易被忽视的问题,并已在基于 Gremlin 的图数据库系统中用于发现逻辑缺陷,表明随机差分测试对图数据库正确性保障具有实用价值。

问题
图数据库系统容易出现逻辑错误,使给定查询返回错误结果,且在图和查询复杂时难以被开发者察觉;已有研究对 GDB 逻辑错误的关注少于关系数据库系统。
方法
采用随机差分测试:随机生成图数据和 Gremlin 查询,在多个基于 Gremlin 的图数据库系统上执行并比较查询结果,以发现结果不一致所揭示的逻辑错误。
评估
在基于 Gremlin 的图数据库系统上开展评估,以发现的逻辑缺陷检验方法的有效性;摘要未给出具体缺陷数量。
原文摘要(Abstract)

Graph database systems (GDBs) allow efficiently storing and retrieving graph data, and have become the critical component in many applications, e.g., knowledge graphs, social networks, and fraud detection. It is important to ensure that GDBs operate correctly. Logic bugs can occur and make GDBs return an incorrect result for a given query. These bugs are critical and can easily go unnoticed by developers when the graph and queries become complicated. Despite the importance of GDBs, logic bugs in GDBs have received less attention than those in relational database systems.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7440,
  title = {Finding bugs in Gremlin-based graph database systems via Randomized differential testing},
  author = {Yingying Zheng and Wensheng Dou and Yicheng Wang and Zheng Qin and Lei Tang and Yu Gao and Dong Wang and Wei Wang and Jun Wei},
  booktitle = {ISSTA},
  year = {2022},
  doi = {10.1145/3533767.3534409}
}