http://dl.acm.org/citation.cfm?id=68015
ABSTRACT. This paper gives sufficient and necessary conditions for detecting when an update of a base relation cannot affect a derived relation (an irrelevant update), and for detecting when a derived relation can be correctly updated using no data other than the derived relation itself and the given update operation (an autonomously computable update).
Testing the conditions eventually requires testing the satistiability of certain Boolean expressions, which, in general, is an NP-complete problem.
d
on D specifying an update of base
relation r
, on R ∈ D
.Buneman and Clemons
[8]
proposed using views (that is, virtual derived relations) for the support of alerters. An alerter monitors the database and reports when a certain state (defined by the view associated with the alerter) has been reached. Hammer and Sarin[13]
proposed a method for detecting violations of integrity constraints.If the update is autonomously computable, then the derived relation can be correctly updated locally without requiring data from remote sites. … provide a starting point for devising a general mechanism for database snapshot refresh
[1, 7, 15]
A derived relation v(Ei, d)
is a relation instance resulting from
the evaluation of a relational algebra expression Ei
against the
database d
.
E = (A, R, G)
be a derived relation definition. The update
operation U is irrelevant to E
if v(E, d’) = v(E, d)
for all
instances d.