Gupta, A., Mumick, I. S. and Subrahmanian, V. S. (1993). Maintaining views incrementally. In Proc. ACM SIGMOD 1993, pp. 157–166. DOI 10.1145/170035.170066

Key takeaways

Read in full (NOTE-915). Two algorithms compute the changes to a stored derived relation (a view) from changes to the base relations, without recomputing it. Counting stores, for each derived tuple, the number of its derivations and propagates signed counts through delta rules stratum by stratum; it is stated correct for nonrecursive Datalog or SQL views with stratified negation and aggregation, under set or duplicate semantics, and is argued to cost little beyond evaluating the view. DRed (delete and rederive), for recursive views under set semantics only, deletes an overestimate of what a deletion invalidates, puts back those tuples that still have a derivation from what remains, then adds what insertions derive; it is stated to yield exactly the tuples derivable from the new base. The paper is an extended abstract: the theorems are stated without proof (proofs are referred to a 1992 AT&T report), cost claims are argued, not measured, and there are no experiments.

Why this is here

QUESTION-105 and CLAIM-303’s dependency tracking: counting keeps one derivation count per derived result for nonrecursive views, and delete-and-rederive handles recursive views under set semantics, keeping what has another derivation. The theorems are stated without proof and the costs are argued, not measured.