On Chase Termination Beyond Stratification

06/23/2009
by   Michael Meier, et al.
0

We study the termination problem of the chase algorithm, a central tool in various database problems such as the constraint implication problem, Conjunctive Query optimization, rewriting queries using views, data exchange, and data integration. The basic idea of the chase is, given a database instance and a set of constraints as input, to fix constraint violations in the database instance. It is well-known that, for an arbitrary set of constraints, the chase does not necessarily terminate (in general, it is even undecidable if it does or not). Addressing this issue, we review the limitations of existing sufficient termination conditions for the chase and develop new techniques that allow us to establish weaker sufficient conditions. In particular, we introduce two novel termination conditions called safety and inductive restriction, and use them to define the so-called T-hierarchy of termination conditions. We then study the interrelations of our termination conditions with previous conditions and the complexity of checking our conditions. This analysis leads to an algorithm that checks membership in a level of the T-hierarchy and accounts for the complexity of termination conditions. As another contribution, we study the problem of data-dependent chase termination and present sufficient termination conditions w.r.t. fixed instances. They might guarantee termination although the chase does not terminate in the general case. As an application of our techniques beyond those already mentioned, we transfer our results into the field of query answering over knowledge bases where the chase on the underlying database may not terminate, making existing algorithms applicable to broader classes of constraints.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/22/2023

Semi-Oblivious Chase Termination for Linear Existential Rules: An Experimental Study

The chase procedure is a fundamental algorithmic tool in databases that ...
research
05/13/2009

Termination Prediction for General Logic Programs

We present a heuristic framework for attacking the undecidable terminati...
research
05/31/2022

What Can Database Query Processing Do for Instance-Spanning Constraints?

In the last decade, the term instance-spanning constraint has been intro...
research
10/03/2019

Extensions of the Algorithmic Lovasz Local Lemma

We consider recent formulations of the algorithmic Lovasz Local Lemma by...
research
04/22/2022

Non-Uniformly Terminating Chase: Size and Complexity

The chase procedure, originally introduced for checking implication of d...
research
02/12/2020

On Termination of Transactions over Semantic Document Models

We consider the framework of Document Modeling, which lays the formal ba...
research
05/11/2020

Restricted Chase Termination for Existential Rules: a Hierarchical Approach and Experimentation

The chase procedure for existential rules is an indispensable tool for s...

Please sign up or login with your details

Forgot password? Click here to reset