Maintaining Triangle Queries under Updates

04/07/2020
by   Ahmet Kara, et al.
0

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 zero or three free variables and weakly Pareto optimal for the triangle queries with one or two free variables.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/09/2018

Counting Triangles under Updates in Worst-Case Optimal Time

We consider the problem of incrementally maintaining the triangle count ...
research
06/17/2022

Conjunctive Queries with Output Access Patterns under Updates

We study the dynamic evaluation of conjunctive queries with output acces...
research
09/18/2017

Enumeration on Trees under Relabelings

We study how to evaluate MSO queries with free variables on trees, withi...
research
06/29/2023

Triangle Fees

Triangle fees are a novel fee structure for AMMs, in which marginal fees...
research
10/25/2020

On Updating and Querying Submatrices

In this paper, we study the d-dimensional update-query problem. We provi...
research
07/03/2019

Trade-offs in Static and Dynamic Evaluation of Hierarchical Queries

We investigate trade-offs in static and dynamic evaluation of hierarchic...
research
04/05/2023

Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Models

Large language models (LLMs) have made fundamental changes in human life...

Please sign up or login with your details

Forgot password? Click here to reset