Maintaining Triangle Queries under Updates

Ahmet Kara,Hung Q. Ngo,Milos Nikolic,Dan Olteanu,Haozhe Zhang
DOI: https://doi.org/10.1145/3396375
IF: 1.6289
2020-01-01
ACM Transactions on Database Systems
Abstract:We consider the problem of incrementally maintaining the triangle queries with arbitrary free variables under single-tuple updates to the input relations. We introduce an approach called IVMϵ that exhibits a trade-off between the update time, the space, and the delay for the enumeration of the query result, such that the update time ranges from the square root to linear in the database size while the delay ranges from constant to linear time. IVMϵ achieves Pareto worst-case optimality in the update-delay space conditioned on the Online Matrix-Vector Multiplication conjecture. It is strongly Pareto optimal for the triangle queries with no or three free variables and weakly Pareto optimal for the remaining triangle queries with one or two free variables. IVMϵ recovers prior work such as the suboptimal classical view maintenance approach that uses delta query processing and the worst-case optimal approach that computes all triangles in a static database.
What problem does this paper attempt to address?