Abstract
We demonstrate the most important new feature of SQL:2023, namely SQL/PGQ, which eases querying graphs using SQL by introducing new syntax for pattern matching and (shortest) path-finding. We show how support for SQL/PGQ can be integrated into an RDBMS, specifically in the DuckDB system, using an extension module called DuckPGQ. As such, we also demonstrate the use of the DuckDB extensibility mechanism, which allows us to add new functions, data types, operators, optimizer rules, storage systems, and even parsers to DuckDB. We also describe the new data structures and algorithms that the DuckPGQ module is based on, and how they are injected into SQL plans.
While the demonstrated DuckPGQ extension module is lean and efficient, we sketch a roadmap to (i) improve its performance through new algorithms (factorized and WCOJ) and better parallelism and (ii) extend its functionality to scenarios beyond SQL, e.g., building and analyzing Graph Neural Networks.
Publisher
Association for Computing Machinery (ACM)
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Reference27 articles.
1. The Design and Implementation of Modern Column-Oriented Database Systems
2. Renzo Angles et al. 2017. Foundations of Modern Query Languages for Graph Databases. ACM Comput. Surv. (2017). Renzo Angles et al. 2017. Foundations of Modern Query Languages for Graph Databases. ACM Comput. Surv. (2017).
3. Renzo Angles et al. 2018 . G-CORE: A Core for Future Graph Query Languages. In SIGMOD 2018 . Renzo Angles et al. 2018. G-CORE: A Core for Future Graph Query Languages. In SIGMOD 2018.
4. Renzo Angles et al. 2021 . PG-Keys: Keys for Property Graphs. In SIGMOD 2021 . Renzo Angles et al. 2021. PG-Keys: Keys for Property Graphs. In SIGMOD 2021.
5. Maciej Besta et al. 2019. Demystifying Graph Databases: Analysis and Taxonomy of Data Organization System Designs and Graph Queries. CoRR (2019). Maciej Besta et al. 2019. Demystifying Graph Databases: Analysis and Taxonomy of Data Organization System Designs and Graph Queries. CoRR (2019).
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. BIFROST: A Future Graph Database Runtime;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13
2. Integrating Velox into TinkerPop for Graph Queries on Vectorized Engine;2023 3rd International Conference on Electronic Information Engineering and Computer (EIECT);2023-11-17