Incremental View Maintenance By Base Relation Tagging in Distributed Databases

被引:0
作者
James Bailey
Guozhu Dong
Mukesh Mohania
X. Sean Wang
机构
[1] King's College London,Department of Computer Science
[2] Strand,Department of Computer Science
[3] University of Melbourne,School of Computer and Information Science
[4] University of South Australia,Department of Information and Software Systems Engineering
[5] George Mason University,undefined
来源
Distributed and Parallel Databases | 1998年 / 6卷
关键词
Distributed database; View maintenance; Auxiliary data structure; Base relation tagging; Exact change;
D O I
暂无
中图分类号
学科分类号
摘要
The incremental view maintenance problem deals with the efficient updating of materialized views in response to updates to base relations. This paper considers the problem in a distributed database environment, with communication cost minimization as the primary objective. The views considered are defined based on the relational join operation. The approach is to use “yes”/“no” tags as auxiliary data on tuples in the base relations to indicate whether the tuples participate in joins. These tags will help avoid sending irrelevant data over the network and thus reduce the communication cost. Two basic view maintenance algorithms are proposed using the tags. In addition to reducing communication costs, an important feature of these two basic algorithms is that they derive the “exact change” to views without looking at the old views. This feature allows us to maintain certain aggregates on views without actually materializing the views themselves; this feature is useful in applications such as active databases where many conditions or constraints must be tested whenever updates occur, since a condition is true exactly when some corresponding view has nonzero number of tuples. The paper then combines the use of tags with the counting algorithm to derive a tagged counting algorithm that further reduces the communication cost. The paper illustrates the algorithms by examples and studies their performance via a statistical analysis. The illustrating examples and the performance analysis show that, under uniform distribution with reasonable join participation rates, the use of tags significantly improves the efficiency of view maintenance over similar algorithms without tags. The performance analysis also identifies the situations where a particular algorithm is superior to others. The use of tags for memoing values of subexpressions in a view definition is also explored in the paper.
引用
收藏
页码:287 / 309
页数:22
相关论文
共 10 条
[1]  
Dong G.(1995)Incremental and decremental evaluation of transitive closure by first-order queries Information and Computation 120 101-106
[2]  
Su J.(1995)Nonrecursive incremental evaluation of Datalog queries Annals of Mathematics and Artificial Intelligence 14 187-223
[3]  
Dong G.(1992)Join processing in relational databases ACM Computing Surveys 24 63-113
[4]  
Su J.(1991)Incremental recomputation of active relational expressions IEEE Trans. on Knowledge and Data Engineering 3 337-41
[5]  
Topor R.(1991)The incremental access method of ViewCache: Concept, algorithm, and cost analysis ACM Trans. on Database Systems 16 535-563
[6]  
Mishra P.(undefined)undefined undefined undefined undefined-undefined
[7]  
Eich M.H.(undefined)undefined undefined undefined undefined-undefined
[8]  
Qian X.(undefined)undefined undefined undefined undefined-undefined
[9]  
Wiederhold G.(undefined)undefined undefined undefined undefined-undefined
[10]  
Roussopoulos N.(undefined)undefined undefined undefined undefined-undefined