Differential Optimization Testing of Gremlin-Based Graph Database Systems


연구 분야: Databases



학회: 2024 IEEE Conference on Software Testing, Verification and Validation (ICST)


초록

Graph database systems (GDBs) allow efficiently creating, modifying, and retrieving graph data in a graph database. To accelerate graph queries, GDBs usually adopt various and complex optimization strategies. However, incorrect optimizations in GDBs can introduce optimization bugs, which cause a graph query to compute an incorrect query result, e.g., omitting a vertex in a graph database. In this paper, we propose Differential Optimization Testing (DOT), an effective and automated approach to detect optimization bugs in GDBs that adopt Gremlin as their query language. The main idea of DOT is that, given a Gremlin query Q , we execute it on the target GDB with two different optimization configurations and then verify whether they can compute the same query results for query Q . Any inconsistency between their query results indicates an optimization bug in the target GDB. To improve the efficiency of differential testing in DOT, we further propose an optimization-guided approach, aiming to explore more optimization strategies and more graph database features. We evaluate DOT on six popular and widely-used GDBs, i.e., Neo4j, OrientDB, JanusGraph, HugeGraph, TinkerGraph, and ArcadeDB. In total, we have found 28 unique optimization bugs, 16 of which have been confirmed as previously-unknown bugs.


Author Profile
Yingying Zheng

State Key Lab of Computer Science at ISCAS

Austria
Author Profile
Wensheng Dou

State Key Lab of Computer Science at ISCAS

Austria
Author Profile
Lei Tang

State Key Lab of Computer Science at ISCAS

Austria

📄 논문 정보

발행 연도 2024년
인용수 6
출판 국가 Andorra, Austria
사이트 IEEE
좋아요 수 0

연관 논문 목록 (297건)