English

A Step Toward Deep Online Aggregation (Extended Version)

Databases 2023-03-08 v1

Abstract

For exploratory data analysis, it is often desirable to know what answers you are likely to get before actually obtaining those answers. This can potentially be achieved by designing systems to offer the estimates of a data operation result -- say op(data) -- earlier in the process based on partial data processing. Those estimates continuously refine as more data is processed and finally converge to the exact answer. Unfortunately, the existing techniques -- called Online Aggregation (OLA) -- are limited to a single operation; that is, we cannot obtain the estimates for op(op(data)) or op(...(op(data))). If this Deep OLA becomes possible, data analysts will be able to explore data more interactively using complex cascade operations. In this work, we take a step toward Deep OLA with evolving data frames (edf), a novel data model to offer OLA for nested ops -- op(...(op(data))) -- by representing an evolving structured data (with converging estimates) that is closed under set operations. That is, op(edf) produces yet another edf; thus, we can freely apply successive operations to edf and obtain an OLA output for each op. We evaluate its viability with Wake, an edf-based OLA system, by examining against state-of-the-art OLA and non-OLA systems. In our experiments on TPC-H dataset, Wake produces its first estimates 4.93x faster (median) -- with 1.3x median slowdown for exact answers -- compared to conventional systems. Besides its generality, Wake is also 1.92x faster (median) than existing OLA systems in producing estimates of under 1% relative errors.

Keywords

Cite

@article{arxiv.2303.04103,
  title  = {A Step Toward Deep Online Aggregation (Extended Version)},
  author = {Nikhil Sheoran and Supawit Chockchowwat and Arav Chheda and Suwen Wang and Riya Verma and Yongjoo Park},
  journal= {arXiv preprint arXiv:2303.04103},
  year   = {2023}
}

Comments

16 pages, 13 figures, 3 appendices, to appear at SIGMOD 2023

R2 v1 2026-06-28T09:06:06.315Z