The VLDB Journal

, Volume 12, Issue 3, pp 262–283

Incremental computation and maintenance of temporal aggregates


DOI: 10.1007/s00778-003-0107-z

Cite this article as:
Yang, J. & Widom, J. VLDB (2003) 12: 262. doi:10.1007/s00778-003-0107-z


We consider the problems of computing aggregation queries in temporal databases and of maintaining materialized temporal aggregate views efficiently. The latter problem is particularly challenging since a single data update can cause aggregate results to change over the entire time line. We introduce a new index structure called the SB-tree, which incorporates features from both segment-trees and B-trees. SB-trees support fast lookup of aggregate results based on time and can be maintained efficiently when the data change. We extend the basic SB-tree index to handle cumulative (also called moving-window) aggregates, considering separatelycases when the window size is or is not fixed in advance. For materialized aggregate views in a temporal database or warehouse, we propose building and maintaining SB-tree indices instead of the views themselves.


Temporal database Aggregation View maintenance Access methods B-tree Segment tree 

Copyright information

© Springer-Verlag Berlin/Heidelberg 2003

Authors and Affiliations

  1. 1.Computer Science DepartmentDuke UniversityUSA
  2. 2.Computer Science DepartmentStanford UniversityUSA

Personalised recommendations