Worst-Case Optimal Graph Joins in Almost No Space
Abstract
We present an indexing scheme that supports worst-case optimal (wco) joins over graphs within compact space. Supporting all possible wco joins using conventional data structures - based on B(+)-Trees, tries, etc. - requires 6 index orders in the case of graphs represented as triples. We rather propose a form of index, which we call a ring, that indexes each triple as a set of cyclic bidirectional strings of length 3. Rather than maintaining 6 orderings, we can use one ring to index them all. This ring replaces the graph and uses only sublinear extra space on top of the graph; in order words, the ring supports worst-case optimal graph joins in almost no space beyond storing the graph itself. We perform experiments using our representation to index a large graph (Wikidata) in memory, over which wco join algorithms are implemented. Our experiments show that the ring offers the best overall performance for query times while using only a small fraction of the space when compared with several state-of-the-art approaches.
Más información
Título según WOS: | Worst-Case Optimal Graph Joins in Almost No Space |
Título de la Revista: | COMPANION OF THE 2024 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, SIGMOD-COMPANION 2024 |
Editorial: | ASSOC COMPUTING MACHINERY |
Fecha de publicación: | 2021 |
Página de inicio: | 102 |
Página final: | 114 |
DOI: |
10.1145/3448016.3457256 |
Notas: | ISI |