Recent Increments in Incremental View Maintenance
Dan Olteanu
TL;DR
The paper surveys recent advances in Incremental View Maintenance (IVM), focusing on fine-grained complexity and optimality for conjunctive queries. It combines delta-query techniques, materialized views, and heavy/light partitioning with lower-bound results based on the OuMv conjecture to delineate when constant update time and constant enumeration delay are possible, and under what constraints they fail. A key theme is the use of view trees and factorized representations to achieve worst-case optimal maintenance for broad classes of queries, including $q$-hierarchical and cascaded patterns, and to exploit data integrity constraints and static/dynamic mixtures. The practical impact is substantial, informing the design of high-throughput IVM engines (e.g., DBToaster, F-IVM, Crown, RelationalAI) and guiding future theoretical work at the intersection of database theory and fine-grained dynamic complexity.
Abstract
We overview recent progress on the longstanding problem of incremental view maintenance (IVM), with a focus on the fine-grained complexity and optimality of IVM for classes of conjunctive queries. This theoretical progress guided the development of IVM engines that reported practical benefits in academic papers and industrial settings. When taken in isolation, each of the reported advancements is but a small increment. Yet when taken together, they may well pave the way to a deeper understanding of the IVM problem. This paper accompanies the invited Gems of PODS 2024 talk with the same title. Some of the works highlighted in this paper are based on prior or on-going collaborations with: Ahmet Kara, Milos Nikolic, and Haozhe Zhang in the F-IVM project; and Mahmoud Abo Khamis, Niko Göbel, Hung Ngo, and Dan Suciu at RelationalAI.
