@inproceedings{b310103a63da4ecb82d031c76f713b71,
title = "Flexible caching in trie joins",
abstract = "While traditional algorithms for multiway join are based on reordering binary joins, more recent approaches have instantiated a new breed of “worst-case-optimal” in-memory algorithms wherein all relations are scanned simultaneously. Veldhuizen{\textquoteright}s Leapfrog Trie Join (LFTJ) is an example. An important advantage of LFTJ is its small memory footprint, due to the fact that intermediate results are full tuples that can be dumped immediately. However, since the algorithm does not store intermediate results, recurring joins must be reconstructed from the source relations, resulting in excessive memory traffic. In this paper, we address this problem by incorporating caches into LFTJ. We do so by adopting recent developments in join optimization, tying variable ordering to a tree decomposition of the query. While the traditional usage of tree decomposition computes the entire result for each bag, our proposed approach incorporates caching directly into LFTJ and can dynamically adjust the size of the cache. Consequently, our solution balances between memory usage and repeated computation. Our experimental study over the SNAP dataset compares between various (traditional and novel) caching policies, and shows significant speedups over state-of-the-art algorithms on both join evaluation and join counting.",
keywords = "Caching, Databases, Tree decomposition, Trie joins",
author = "Oren Kalinsky and Yoav Etsion and Benny Kimelfeld",
note = "Publisher Copyright: {\textcopyright} 2017, Copyright is with the authors.; 20th International Conference on Extending Database Technology, EDBT 2017 ; Conference date: 21-03-2017 Through 24-03-2017",
year = "2017",
doi = "10.5441/002/edbt.2017.26",
language = "الإنجليزيّة",
series = "Advances in Database Technology - EDBT",
pages = "282--293",
editor = "Bernhard Mitschang and Volker Markl and Sebastian Bress and Periklis Andritsos and Kai-Uwe Sattler and Salvatore Orlando",
booktitle = "Advances in Database Technology - EDBT 2017",
}