Towards Cross-Model Efficiency in SQL/PGQ
By: Hadar Rotschield, Liat Peterfreund
Potential Business Impact:
Lets computers find patterns in data faster.
SQL/PGQ is a new standard that integrates graph querying into relational systems, allowing users to freely switch between graph patterns and SQL. Our experiments show performance gaps between these models, as queries written in both formalisms can exhibit varying performance depending on the formalism used, suggesting that current approaches handle each query type separately, applying distinct optimizations to each formalism. We argue that a holistic optimization is necessary, where the system internally decides on the best algorithms regardless of whether queries are written in SQL or as graph patterns. We propose possible future research direction to unify these optimizations and mitigate performance gaps.
Similar Papers
On the Expressiveness of Languages for Querying Property Graphs in Relational Databases
Databases
Lets computers find patterns in connected data.
Proving Cypher Query Equivalence
Databases
Checks if two ways of asking for data are the same.
Querying Graph-Relational Data
Programming Languages
Connects app data to database easily.