ACM Home Page
Please provide us with feedback. Feedback
Incremental maintenance of shortest distance and transitive closure in first-order logic and SQL
Full text PdfPdf (455 KB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 30 ,  Issue 3  (September 2005) table of contents
Pages: 698 - 721  
Year of Publication: 2005
ISSN:0362-5915
Authors
Chaoyi Pang  CSIRO ICT Center/E-Health Research Center, Australia
Guozhu Dong  Wright State University, Dayton, Ohio
Kotagiri Ramamohanarao  University of Melbourne, Australia
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 11,   Downloads (12 Months): 86,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1093382.1093384
What is a DOI?

ABSTRACT

Given a database, the view maintenance problem is concerned with the efficient computation of the new contents of a given view when updates to the database happen. We consider the view maintenance problem for the situation when the database contains a weighted graph and the view is either the transitive closure or the answer to the all-pairs shortest-distance problem (APSD). We give incremental algorithms for APSD, which support both edge insertions and deletions. For transitive closure, the algorithm is applicable to a more general class of graphs than those previously explored. Our algorithms use first-order queries, along with addition (+) and less-than (<) operations (FO(+,<)); they store O(n2) number of tuples, where n is the number of vertices, and have AC0 data complexity for integer weights. Since FO(+,<) is a sublanguage of SQL and is supported by almost all current database systems, our maintenance algorithms are more appropriate for database applications than nondatabase query types of maintenance algorithms.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
 
4
5
 
6
Djidjev, H., Pantziou, G. E., and Zaroliagis, C. D. 2000. Improved algorithms for dynamic shortest paths. Algorithmica 28, 4, 367--389.
 
7
 
8
9
10
 
11
 
12
Even, S. and Gazit, H. 1985. Updating distances in dynamic graphs. Methods of Operations Research 49, 371--387.
 
13
 
14
 
15
Gupta, A., Katiyar, D., and Mumick, I. S. 1992. Counting solutions to the view maintenance problem. In Proceedings of the JICSLP Workshop on Deductive Databases, Washington DC, November 1992, K. Ramamohanarao, J. Harland, and G. Dong, Eds. 185--194.
16
17
 
18
Harrison, J. V. and Dietrich, S. W. 1992. Maintenance of materialized views in a deductive database: An update propagation approach. In Proceedings of the JICSLP Workshop on Deductive Databases, K. Ramamohanarao, J. Harland, and G. Dong, Eds. 56--65.
19
 
20
Kuchenhoff, V. 1991. On the efficient computation of the difference between consecutive database states. In Proceedings of the Second International Conference on Deductive Object-Oriented Databases, C. Delobel, M. Kifer, and Y. Masunaga, Eds. Lecture Notes in Computer Science, Springer-Verlag, vol. 566. Springer-Verlag, 478--502.
 
21
La Poutre, J. A. and van Leeuwen, J. 1987. Maintenance of transitive closures and transitive reductions of graphs. Tech. Rep. RUU-CS-87-25, Department of Computer Science, University of Utrecht, The Netherlands.
 
22
 
23
Pang, C. 1999. Incremental maintenance reachability of graph in first-order and its extension. Ph.D. thesis, The University of Melbourne.
 
24
25
 
26
 
27
28
 
29
30
 
31


Collaborative Colleagues:
Chaoyi Pang: colleagues
Guozhu Dong: colleagues
Kotagiri Ramamohanarao: colleagues