ACM SIGMOD Record · 2017 · 23 citations · 57 references
ComputingComputer ScienceInformation SystemsData ManagementDatabasesDistributed SystemsDatabase ManagementQuery OptimizationQuery ProcessingRelational AlgebraStructured Query LanguageAggregationExternal Memory Join AlgorithmsJoinJoin AlgorithmsJoin ProcessingOnline AggregationQuery Evaluation
Joins are expensive, and online aggregation is an effective approach to explore the tradeoff between query efficiency and accuracy in a continuous, online fashion. However, the stateof- the-art approach, in both internal and external memory, is based on ripple join, which is still very expensive and needs strong assumptions (e.g., the tuples in a table are stored in random order). This paper proposes a new approach, the wander join algorithm, to the online aggregation problem by performing random walks over the underlying join graph. We also design an optimizer that chooses the optimal plan for conducting the random walks without having to collect any statistics a priori. Selection predicates and group-by clauses can be handled as well. We have developed an online engine called XDB by integrating wander join in the latest version of PostgreSQL. Extensive experiments using the TPC-H benchmark have shown the superior performance of wander join. The XDB implementation has demonstrated its practicality in a full-fledged database system.
57
Joseph M. Hellerstein, Peter J. Haas, Helen J. Wang · 1997 · 928 citations · Full text
Sameer Agarwal, Barzan Mozafari, Aurojit Panda et al. · 2013 · 709 citations
Aleksandar Dragojević, Dushyanth Narayanan, Orion Hodson et al. · Networked Systems Design and Implementation · 2014 · 503 citations