{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,31]],"date-time":"2026-03-31T09:35:33Z","timestamp":1774949733416,"version":"3.50.1"},"reference-count":44,"publisher":"Association for Computing Machinery (ACM)","issue":"5","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2022,1]]},"abstract":"<jats:p>\n            Joins in native graph database management systems (GDBMSs) are predefined to the system as edges, which are indexed in adjacency list indices and serve as pointers. This contrasts with and can be more performant than value-based joins in RDBMSs. Existing approaches to integrate predefined joins into RDBMSs adopt a strict separation of graph and relational data and processors, where a graph-specific processor uses left-deep and index nested loop joins (INLJ) for a subset of joins. In this paper we study and experimentally evaluate this technique's performance against an alternative technique that is based on using hash joins that use system-level row IDs (RIDs). In this alternative approach, when a join between two tables is predefined to the system, the RIDs of joining tuples are materialized in extended tables and optionally in RID indices. Instead of using the RID index to perform the join directly, we use it primarily in hash joins to generate filters that can be passed to scans using sideways information passing (sip), ensuring sequential scans. We further compare these two approaches against: (i) the default value-based joins of an RDBMS; and (ii) using materialized views that can avoid evaluating predefined joins completely and instead replace them with scans. We integrated our alternative approach to DuckDB and call the resulting system\n            <jats:italic>GRainDB.<\/jats:italic>\n            Our evaluation demonstrates that existing INJL-based approach can be very efficient when entity relations contain very selective filters. However, GRainDB's approach is more robust and is either competitive with or outperforms the INLJ-based approach across a wide range of settings. We further demonstrate that GRainDB far improves the performance of DuckDB, which uses default value-based joins, on relational and graph workloads with large many-to-many joins, making it competitive with a state-of-the-art GDBMS, and incurs no major overheads otherwise.\n          <\/jats:p>","DOI":"10.14778\/3510397.3510400","type":"journal-article","created":{"date-parts":[[2022,5,18]],"date-time":"2022-05-18T22:23:10Z","timestamp":1652912590000},"page":"1011-1023","source":"Crossref","is-referenced-by-count":6,"title":["Making RDBMSs efficient on graph workloads through predefined joins"],"prefix":"10.14778","volume":"15","author":[{"given":"Guodong","family":"Jin","sequence":"first","affiliation":[{"name":"Renmin University of China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Semih","family":"Salihoglu","sequence":"additional","affiliation":[{"name":"University of Waterloo, Canada"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2022,5,18]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2021. DGraph. https:\/\/dgraph.io  2021. DGraph. https:\/\/dgraph.io"},{"key":"e_1_2_1_2_1","unstructured":"2021. GRainDB. https:\/\/github.com\/graindb\/graindb  2021. GRainDB. https:\/\/github.com\/graindb\/graindb"},{"key":"e_1_2_1_3_1","unstructured":"2021. Neo4j. http:\/\/neo4j.com  2021. Neo4j. http:\/\/neo4j.com"},{"key":"e_1_2_1_4_1","unstructured":"2021. TigerGraph. http:\/\/tigergraph.com  2021. TigerGraph. http:\/\/tigergraph.com"},{"key":"e_1_2_1_5_1","unstructured":"2021. Value reuse for auto-increment columns in MySQL. https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/delete.html  2021. Value reuse for auto-increment columns in MySQL. https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/delete.html"},{"key":"e_1_2_1_6_1","volume-title":"Narasayya","author":"Agrawal Sanjay","year":"2000","unstructured":"Sanjay Agrawal , Surajit Chaudhuri , and Vivek R . Narasayya . 2000 . Automated Selection of Materialized Views and Indexes in SQL Databases. In VLDB. Sanjay Agrawal, Surajit Chaudhuri, and Vivek R. Narasayya. 2000. Automated Selection of Materialized Views and Indexes in SQL Databases. In VLDB."},{"key":"e_1_2_1_7_1","volume-title":"Alex Averbuch, Peter Boncz, Orri Erling, Andrey Gubichev, Vlad Haprian, Moritz Kaufmann, Josep Llu\u00eds Larriba Pey, Norbert Mart\u00ednez, et al.","author":"Angles Renzo","year":"2020","unstructured":"Renzo Angles , J\u00e1nos Benjamin Antal , Alex Averbuch, Peter Boncz, Orri Erling, Andrey Gubichev, Vlad Haprian, Moritz Kaufmann, Josep Llu\u00eds Larriba Pey, Norbert Mart\u00ednez, et al. 2020 . The LDBC social network benchmark. CoRR ( 2020). Renzo Angles, J\u00e1nos Benjamin Antal, Alex Averbuch, Peter Boncz, Orri Erling, Andrey Gubichev, Vlad Haprian, Moritz Kaufmann, Josep Llu\u00eds Larriba Pey, Norbert Mart\u00ednez, et al. 2020. The LDBC social network benchmark. CoRR (2020)."},{"key":"e_1_2_1_8_1","doi-asserted-by":"crossref","unstructured":"Nafisa Anzum Semih Salihoglu and Daniel Vogel. 2019. GraphWrangler: An Interactive Graph View on Relational Data. In ICDE.  Nafisa Anzum Semih Salihoglu and Daniel Vogel. 2019. GraphWrangler: An Interactive Graph View on Relational Data. In ICDE.","DOI":"10.1145\/3299869.3320232"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","unstructured":"Francois Bancilhon David Maier Yehoshua Sagiv and Jeffrey D Ullman. 1985. Magic Sets and Other Strange Ways to Implement Logic Programs (Extended Abstract). In PODS.  Francois Bancilhon David Maier Yehoshua Sagiv and Jeffrey D Ullman. 1985. Magic Sets and Other Strange Ways to Implement Logic Programs (Extended Abstract). In PODS.","DOI":"10.1145\/6012.15399"},{"key":"e_1_2_1_10_1","doi-asserted-by":"crossref","unstructured":"Angela Bonifati George Fletcher Hannes Voigt and Nikolay Yakovets. 2018. Querying Graphs. Morgan & Claypool.  Angela Bonifati George Fletcher Hannes Voigt and Nikolay Yakovets. 2018. Querying Graphs. Morgan & Claypool.","DOI":"10.1007\/978-3-031-01864-0"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/358396.358400"},{"key":"e_1_2_1_12_1","volume-title":"Database system implementation","author":"Garcia-Molina Hector","unstructured":"Hector Garcia-Molina , Jeffrey D Ullman , and Jennifer Widom . 2000. Database system implementation . Prentice Hall Upper Saddle River , NJ :. Hector Garcia-Molina, Jeffrey D Ullman, and Jennifer Widom. 2000. Database system implementation. Prentice Hall Upper Saddle River, NJ:."},{"key":"e_1_2_1_13_1","volume-title":"Scalable Solution. SIGMOD Record 30, 2","author":"Goldstein Jonathan","year":"2001","unstructured":"Jonathan Goldstein and Per-\u00c5ke Larson . 2001. Optimizing Queries Using Materialized Views: A Practical , Scalable Solution. SIGMOD Record 30, 2 ( 2001 ). Jonathan Goldstein and Per-\u00c5ke Larson. 2001. Optimizing Queries Using Materialized Views: A Practical, Scalable Solution. SIGMOD Record 30, 2 (2001)."},{"key":"e_1_2_1_14_1","volume-title":"Query evaluation techniques for large databases. ACM Computing Surveys (CSUR) 25, 2","author":"Graefe Goetz","year":"1993","unstructured":"Goetz Graefe . 1993. Query evaluation techniques for large databases. ACM Computing Surveys (CSUR) 25, 2 ( 1993 ). Goetz Graefe. 1993. Query evaluation techniques for large databases. ACM Computing Surveys (CSUR) 25, 2 (1993)."},{"key":"e_1_2_1_15_1","volume-title":"Integrating Column-Oriented Storage and Query Processing Techniques Into Graph Database Management Systems. CoRR","author":"Gupta Pranjal","year":"2021","unstructured":"Pranjal Gupta , Amine Mhedhbi ,, and Semih Salihoglu . 2021. Integrating Column-Oriented Storage and Query Processing Techniques Into Graph Database Management Systems. CoRR ( 2021 ). Pranjal Gupta, Amine Mhedhbi,, and Semih Salihoglu. 2021. Integrating Column-Oriented Storage and Query Processing Techniques Into Graph Database Management Systems. CoRR (2021)."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s007780100054"},{"key":"e_1_2_1_17_1","volume-title":"Walid G. Aref, and Mohammad Sadoghi.","author":"Hassan Mohamed S.","year":"2018","unstructured":"Mohamed S. Hassan , Tatiana Kuznetsova , Hyun Chai Jeong , Walid G. Aref, and Mohammad Sadoghi. 2018 . Extending In-Memory Relational Database Engines with Native Graph Support. In EDBT. Mohamed S. Hassan, Tatiana Kuznetsova, Hyun Chai Jeong, Walid G. Aref, and Mohammad Sadoghi. 2018. Extending In-Memory Relational Database Engines with Native Graph Support. In EDBT."},{"key":"e_1_2_1_18_1","volume-title":"Walid G Aref, and Mohammad Sadoghi.","author":"Hassan Mohamed S","year":"2018","unstructured":"Mohamed S Hassan , Tatiana Kuznetsova , Hyun Chai Jeong , Walid G Aref, and Mohammad Sadoghi. 2018 . Grfusion : Graphs as first-class citizens in main-memory relational database systems. In SIGMOD. Mohamed S Hassan, Tatiana Kuznetsova, Hyun Chai Jeong, Walid G Aref, and Mohammad Sadoghi. 2018. Grfusion: Graphs as first-class citizens in main-memory relational database systems. In SIGMOD."},{"key":"e_1_2_1_19_1","unstructured":"Zachary G Ives and Nicholas E Taylor. 2008. Sideways information passing for push-style query processing. In ICDE.  Zachary G Ives and Nicholas E Taylor. 2008. Sideways information passing for push-style query processing. In ICDE."},{"key":"e_1_2_1_20_1","unstructured":"Guodong Jin and Semih Salihoglu. 2021. Making RDBMSs Efficient on Graph Workloads Through Predefined Joins. https:\/\/cs.uwaterloo.ca\/~ssalihog\/papers\/predefined-tr.pdf  Guodong Jin and Semih Salihoglu. 2021. Making RDBMSs Efficient on Graph Workloads Through Predefined Joins. https:\/\/cs.uwaterloo.ca\/~ssalihog\/papers\/predefined-tr.pdf"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3056445"},{"key":"e_1_2_1_22_1","volume-title":"Ross","author":"Lei Hui","year":"1999","unstructured":"Hui Lei and Kenneth A . Ross . 1999 . Faster joins, self-joins and multi-way joins using join indices. Data & Knowledge Engineering 29, 2 (1999). Hui Lei and Kenneth A. Ross. 1999. Faster joins, self-joins and multi-way joins using join indices. Data & Knowledge Engineering 29, 2 (1999)."},{"key":"e_1_2_1_23_1","volume-title":"How good are query optimizers, really? PVLDB 9, 3","author":"Leis Viktor","year":"2015","unstructured":"Viktor Leis , Andrey Gubichev , Atanas Mirchev , Peter Boncz , Alfons Kemper , and Thomas Neumann . 2015. How good are query optimizers, really? PVLDB 9, 3 ( 2015 ). Viktor Leis, Andrey Gubichev, Atanas Mirchev, Peter Boncz, Alfons Kemper, and Thomas Neumann. 2015. How good are query optimizers, really? PVLDB 9, 3 (2015)."},{"key":"e_1_2_1_24_1","volume-title":"Ross","author":"Li Zhe","year":"1999","unstructured":"Zhe Li and Kenneth A . Ross . 1999 . Fast Joins Using Join Indices. VLDBJ 8, 1 (1999). Zhe Li and Kenneth A. Ross. 1999. Fast Joins Using Join Indices. VLDBJ 8, 1 (1999)."},{"key":"e_1_2_1_25_1","unstructured":"Chunbin Lin Benjamin Mandel Yannis Papakonstantinou and Matthias Springer. 2016. Fast In-Memory SQL Analytics on Typed Graphs. In ICDE.  Chunbin Lin Benjamin Mandel Yannis Papakonstantinou and Matthias Springer. 2016. Fast In-Memory SQL Analytics on Typed Graphs. In ICDE."},{"key":"e_1_2_1_26_1","unstructured":"Chunbin Lin Jianguo Wang and Yannis Papakonstantinou. 2017. GQFast: Fast graph exploration with context-aware autocompletion. In ICDE.  Chunbin Lin Jianguo Wang and Yannis Papakonstantinou. 2017. GQFast: Fast graph exploration with context-aware autocompletion. In ICDE."},{"key":"e_1_2_1_27_1","volume-title":"A Survey of View Selection Methods. SIGMOD Record 41, 1","author":"Mami Imene","year":"2012","unstructured":"Imene Mami and Zohra Bellahsene . 2012. A Survey of View Selection Methods. SIGMOD Record 41, 1 ( 2012 ). Imene Mami and Zohra Bellahsene. 2012. A Survey of View Selection Methods. SIGMOD Record 41, 1 (2012)."},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Amine Mhedhbi Pranjal Gupta Shahid Khaliq and Semih Salihoglu. 2021. A+ Indexes: Lightweight and Highly Flexible Adjacency Lists for Graph Database Management Systems. In ICDE.  Amine Mhedhbi Pranjal Gupta Shahid Khaliq and Semih Salihoglu. 2021. A+ Indexes: Lightweight and Highly Flexible Adjacency Lists for Graph Database Management Systems. In ICDE.","DOI":"10.1109\/ICDE51399.2021.00130"},{"key":"e_1_2_1_29_1","volume-title":"Optimizing One-time and Continuous Subgraph Queries using Worst-Case Optimal Joins. TODS","author":"Mhedhbi Amine","year":"2021","unstructured":"Amine Mhedhbi , Chathura Kankanamge , and Semih Salihoglu . 2021. Optimizing One-time and Continuous Subgraph Queries using Worst-Case Optimal Joins. TODS ( 2021 ). Amine Mhedhbi, Chathura Kankanamge, and Semih Salihoglu. 2021. Optimizing One-time and Continuous Subgraph Queries using Worst-Case Optimal Joins. TODS (2021)."},{"key":"e_1_2_1_30_1","volume-title":"Optimizing subgraph queries by combining binary and worst-case optimal joins. PVLDB 12, 11","author":"Mhedhbi Amine","year":"2019","unstructured":"Amine Mhedhbi and Semih Salihoglu . 2019. Optimizing subgraph queries by combining binary and worst-case optimal joins. PVLDB 12, 11 ( 2019 ). Amine Mhedhbi and Semih Salihoglu. 2019. Optimizing subgraph queries by combining binary and worst-case optimal joins. PVLDB 12, 11 (2019)."},{"key":"e_1_2_1_31_1","unstructured":"Inderpal Singh Mumick and Hamid Pirahesh. 1994. Implementation of Magic-Sets in a Relational Database System. In SIGMOD.  Inderpal Singh Mumick and Hamid Pirahesh. 1994. Implementation of Magic-Sets in a Relational Database System. In SIGMOD."},{"key":"e_1_2_1_32_1","doi-asserted-by":"crossref","unstructured":"Thomas Neumann and Gerhard Weikum. 2009. Scalable join processing on very large RDF graphs. In SIGMOD.  Thomas Neumann and Gerhard Weikum. 2009. Scalable join processing on very large RDF graphs. In SIGMOD.","DOI":"10.1145\/1559845.1559911"},{"key":"e_1_2_1_33_1","volume-title":"Multi-Table Joins through Bitmapped Join Indices. SIGMOD Rec. 24, 3","author":"O'Neil Patrick","year":"1995","unstructured":"Patrick O'Neil and Goetz Graefe . 1995. Multi-Table Joins through Bitmapped Join Indices. SIGMOD Rec. 24, 3 ( 1995 ). Patrick O'Neil and Goetz Graefe. 1995. Multi-Table Joins through Bitmapped Join Indices. SIGMOD Rec. 24, 3 (1995)."},{"key":"e_1_2_1_34_1","volume-title":"Improved Query Performance with Variant Indexes. SIGMOD Record 26, 2","author":"O'Neil Patrick","year":"1997","unstructured":"Patrick O'Neil and Dallan Quass . 1997. Improved Query Performance with Variant Indexes. SIGMOD Record 26, 2 ( 1997 ). Patrick O'Neil and Dallan Quass. 1997. Improved Query Performance with Variant Indexes. SIGMOD Record 26, 2 (1997)."},{"key":"e_1_2_1_35_1","doi-asserted-by":"crossref","unstructured":"Mark Raasveldt and Hannes M\u00fchleisen. 2019. DuckDB: an embeddable analytical database. In SIGMOD.  Mark Raasveldt and Hannes M\u00fchleisen. 2019. DuckDB: an embeddable analytical database. In SIGMOD.","DOI":"10.1145\/3299869.3320212"},{"key":"e_1_2_1_36_1","unstructured":"Mark Raasveldt and Hannes M\u00fchleisen. 2020. Data Management for Data Science - Towards Embedded Analytics. In CIDR.  Mark Raasveldt and Hannes M\u00fchleisen. 2020. Data Management for Data Science - Towards Embedded Analytics. In CIDR."},{"key":"e_1_2_1_37_1","unstructured":"Michael Rudolf Marcus Paradies Christof Bornh\u00f6vd and Wolfgang Lehner. 2013. The graph story of the SAP HANA database. BTW.  Michael Rudolf Marcus Paradies Christof Bornh\u00f6vd and Wolfgang Lehner. 2013. The graph story of the SAP HANA database. BTW."},{"key":"e_1_2_1_38_1","volume-title":"The ubiquity of large graphs and surprising challenges of graph processing: extended survey. VLDBJ 29, 2","author":"Sahu Siddhartha","year":"2020","unstructured":"Siddhartha Sahu , Amine Mhedhbi , Semih Salihoglu , Jimmy Lin , and M Tamer \u00d6zsu . 2020. The ubiquity of large graphs and surprising challenges of graph processing: extended survey. VLDBJ 29, 2 ( 2020 ). Siddhartha Sahu, Amine Mhedhbi, Semih Salihoglu, Jimmy Lin, and M Tamer \u00d6zsu. 2020. The ubiquity of large graphs and surprising challenges of graph processing: extended survey. VLDBJ 29, 2 (2020)."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2723732"},{"key":"e_1_2_1_40_1","volume-title":"Wei Zhao, Mir Hamid Pirahesh, Sui Jun Tong, Wen Sun, Thomas Kolanko, Md Shahidul Haque Apu, and Huijuan Peng.","author":"Tian Yuanyuan","year":"2020","unstructured":"Yuanyuan Tian , En Liang Xu , Wei Zhao, Mir Hamid Pirahesh, Sui Jun Tong, Wen Sun, Thomas Kolanko, Md Shahidul Haque Apu, and Huijuan Peng. 2020 . IBM Db2 Graph : Supporting Synergistic and Retrofittable Graph Queries Inside IBM Db2. In SIGMOD. Yuanyuan Tian, En Liang Xu, Wei Zhao, Mir Hamid Pirahesh, Sui Jun Tong, Wen Sun, Thomas Kolanko, Md Shahidul Haque Apu, and Huijuan Peng. 2020. IBM Db2 Graph: Supporting Synergistic and Retrofittable Graph Queries Inside IBM Db2. In SIGMOD."},{"key":"e_1_2_1_41_1","unstructured":"P. Tsaparas T. Palpanas Y. Kotidis N. Koudas and Divesh Srivastava. 2003. Ranked Join Indices. In ICDE.  P. Tsaparas T. Palpanas Y. Kotidis N. Koudas and Divesh Srivastava. 2003. Ranked Join Indices. In ICDE."},{"key":"e_1_2_1_42_1","volume-title":"Join indices. TODS 12, 2","author":"Valduriez Patrick","year":"1987","unstructured":"Patrick Valduriez . 1987. Join indices. TODS 12, 2 ( 1987 ). Patrick Valduriez. 1987. Join indices. TODS 12, 2 (1987)."},{"key":"e_1_2_1_43_1","doi-asserted-by":"crossref","unstructured":"Konstantinos Xirogiannopoulos Virinchi Srinivas and Amol Deshpande. 2017. GraphGen: Adaptive graph processing using relational databases. In GRADES.  Konstantinos Xirogiannopoulos Virinchi Srinivas and Amol Deshpande. 2017. GraphGen: Adaptive graph processing using relational databases. In GRADES.","DOI":"10.1145\/3078447.3078456"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.14778\/3090163.3090167"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3510397.3510400","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:21:21Z","timestamp":1672219281000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3510397.3510400"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,1]]},"references-count":44,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2022,1]]}},"alternative-id":["10.14778\/3510397.3510400"],"URL":"https:\/\/doi.org\/10.14778\/3510397.3510400","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2022,1]]}}}