English

Incremental View Maintenance with Triple Lock Factorization Benefits

Databases 2018-03-02 v2

Abstract

We introduce F-IVM, a unified incremental view maintenance (IVM) approach for a variety of tasks, including gradient computation for learning linear regression models over joins, matrix chain multiplication, and factorized evaluation of conjunctive queries. F-IVM is a higher-order IVM algorithm that reduces the maintenance of the given task to the maintenance of a hierarchy of increasingly simpler views. The views are functions mapping keys, which are tuples of input data values, to payloads, which are elements from a task-specific ring. Whereas the computation over the keys is the same for all tasks, the computation over the payloads depends on the task. F-IVM achieves efficiency by factorizing the computation of the keys, payloads, and updates. We implemented F-IVM as an extension of DBToaster. We show in a range of scenarios that it can outperform classical first-order IVM, DBToaster's fully recursive higher-order IVM, and plain recomputation by orders of magnitude while using less memory.

Cite

@article{arxiv.1703.07484,
  title  = {Incremental View Maintenance with Triple Lock Factorization Benefits},
  author = {Milos Nikolic and Dan Olteanu},
  journal= {arXiv preprint arXiv:1703.07484},
  year   = {2018}
}

Comments

27 pages, 13 figures, a shorter version appeared in SIGMOD 2018

R2 v1 2026-06-22T18:53:18.946Z