Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Implementing Graph Pattern Queries on a Relational Database

Technical Report ·
DOI:https://doi.org/10.2172/924192· OSTI ID:924192

When a graph database is implemented on top of a relational database, queries in the graph query language are translated into relational SQL queries. Graph pattern queries are an important feature of a graph query language. Translating graph pattern queries into single SQL statements results in very poor query performance. By taking into account the pattern query structure and generating multiple SQL statements, pattern query performance can be dramatically improved. The performance problems encountered with the single SQL statements generated for pattern queries reflects a problem in the SQL query planner and optimizer. Addressing this problem would allow relational databases to better support semantic graph databases. Relational database systems that provide good support for graph databases may also be more flexible platforms for data warehouses.

Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA
Sponsoring Organization:
USDOE
DOE Contract Number:
W-7405-ENG-48
OSTI ID:
924192
Report Number(s):
LLNL-TR-400310
Country of Publication:
United States
Language:
English

Similar Records

QLiG: Query Like a Graph For Subgraph Matching
Conference · Thu Dec 30 23:00:00 EST 2021 · OSTI ID:1856345

A Semantic Graph Query Language
Technical Report · Mon Oct 16 00:00:00 EDT 2006 · OSTI ID:900170

GraQL: A Query Language for High-Performance Attributed Graph Databases
Conference · Fri May 27 00:00:00 EDT 2016 · OSTI ID:1339889