Abstract
This paper considers the problem of detecting independence of a queries expressed by datalog programs from updates. We provide new insight into the independence problem by reducing it to the equivalence problem for datalog programs (both for the case of insertion and deletion updates). Equivalence, as well as independence, is undecidable in general. However, algorithms for detecting subclasses of equivalence provide sufficient (and sometimes also necessary) conditions for independence. We consider two such subclasses. The first, query-reachability, generalizes previous work on independence [BCL89, El90], which dealt with nonrecursive programs with a single occurrence of the updated predicate. Using recent results on queryreachability [LS92, LMSS93], we generalize these earlier independence tests to arbitrary recursive datalog queries with dense-order constraints and negated EDB subgoals. The second subclass is uniform equivalence (introduced in [Sa88]). We extend the results of [Sa88] to datalog programs that include dense-order constraints and stratified negation. Based on these extensions, we present new cases in which independence is decidable and give algorithms that are sound for the general case. Aside for their use in detecting independence, the algorithms for detecting uniform equivalence are also important for optimizing datalog programs.
| Original language | English |
|---|---|
| Title of host publication | VLDB 1993 - Proceedings of the 19th International Conference on Very Large Data Bases |
| Editors | Rakesh Agrawal, Sean Baker, David A. Bell |
| Publisher | Morgan Kaufmann Publishers, Inc. |
| Pages | 171-181 |
| Number of pages | 11 |
| ISBN (Electronic) | 155860152X, 9781558601529 |
| State | Published - 1993 |
| Event | 19th International Conference on Very Large Data Bases, VLDB 1993 - Dublin, Ireland Duration: 24 Aug 1993 → 27 Aug 1993 |
Publication series
| Name | VLDB 1993 - Proceedings of the 19th International Conference on Very Large Data Bases |
|---|
Conference
| Conference | 19th International Conference on Very Large Data Bases, VLDB 1993 |
|---|---|
| Country/Territory | Ireland |
| City | Dublin |
| Period | 24/08/93 → 27/08/93 |
Bibliographical note
Publisher Copyright:© VLDB 1993.All rights reserved.
Fingerprint
Dive into the research topics of 'Queries Independent of Updates'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver