Skip to main content

Online view maintenance under a response-time constraint

Publication ,  Journal Article
Munagala, K; Yang, J; Yu, H
Published in: Lecture Notes in Computer Science
January 1, 2005

A materialized view is a certain synopsis structure precomputed from one or more data sets (called base tables) in order to facilitate various queries on the data. When the underlying base tables change, the materialized view also needs to be updated accordingly to reflect those changes. We consider the problem of batch-incrementally maintaining a materialized view under a response-time constraint. We propose techniques for selectively processing updates to some base tables while keeping others batched, with the goal of minimizing the total maintenance cost while meeting the response-time constraint. We reduce this to a generalized paging problem, where the cost of evicting a page is a concave non-decreasing function of the number of continuous requests seen since the last time it was evicted. Our main result is an online algorithm that achieves a constant competitive ratio for all concave cost functions while relaxing the response-time constraint by a constant factor. For several special classes of cost functions, the competitive ratio can be improved with simpler, more intuitive algorithms. Our algorithms are based on emulating the behavior of an online paging algorithm on a page request sequence carefully designed from the cost function. The key novel technical ideas are twofold. The first involves discretizing the cost function, so that there is a collection of periodic paging sequences, with page sizes decreasing geometrically, which approximates the behavior of the original function. The second involves designing an online view maintenance algorithm based on the paging process, by emulating the behavior of the paging scheme in recursively defined phases. © Springer-Verlag Berlin Heidelberg 2005.

Duke Scholars

Published In

Lecture Notes in Computer Science

DOI

ISSN

0302-9743

Publication Date

January 1, 2005

Volume

3669

Start / End Page

677 / 688

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Munagala, K., Yang, J., & Yu, H. (2005). Online view maintenance under a response-time constraint. Lecture Notes in Computer Science, 3669, 677–688. https://doi.org/10.1007/11561071_60
Munagala, K., J. Yang, and H. Yu. “Online view maintenance under a response-time constraint.” Lecture Notes in Computer Science 3669 (January 1, 2005): 677–88. https://doi.org/10.1007/11561071_60.
Munagala K, Yang J, Yu H. Online view maintenance under a response-time constraint. Lecture Notes in Computer Science. 2005 Jan 1;3669:677–88.
Munagala, K., et al. “Online view maintenance under a response-time constraint.” Lecture Notes in Computer Science, vol. 3669, Jan. 2005, pp. 677–88. Scopus, doi:10.1007/11561071_60.
Munagala K, Yang J, Yu H. Online view maintenance under a response-time constraint. Lecture Notes in Computer Science. 2005 Jan 1;3669:677–688.

Published In

Lecture Notes in Computer Science

DOI

ISSN

0302-9743

Publication Date

January 1, 2005

Volume

3669

Start / End Page

677 / 688

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences