Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

Incremental Maintenance of Views with Aggregates

  • Himanshu Gupta
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_840

Definition

Views are SQL or relational expressions over the given data sources. In a data warehouse, view expression generally involves the aggregate operator. In order to keep materialized (precomputed and stored) views up to date, it is necessary to maintain the views in response to the changes at the sources. Incremental maintenance of a view involves propagating the changes at the source onto the view so that the view reflects the changes. Incrementally maintaining a view can be significantly cheaper than recomputing the view from scratch.

Historical Background

Incrementally maintaining a view can be significantly cheaper than recomputing the view from scratch, especially if the size of the view is large compared to the size of the changes [1, 2, 9]. The problem of incremental maintenance of views has been studied extensively, and several algorithms have been proposed over the years [3, 4, 6, 7, 8, 9, 10, 11, 12]. Most works (except for [7, 12]) either handled view expressions...

This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Blakeley JA, Martin NL Join index, materialized view, and hybrid hash join: a performance analysis. In: Proceedings of the 6th International Conference on Data Engineering; 1990. p. 256–63.Google Scholar
  2. 2.
    Colby L, Kawaguchi A, Lieuwen D, Mumick I, Ross K Supporting multiple view maintenance policies. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 1997. p. 405–16.Google Scholar
  3. 3.
    Griffin T, Libkin L Incremental maintenance of views with duplicates. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 1995. p. 316–27.Google Scholar
  4. 4.
    Griffin T, Libkin L, Trickey H. A correction to “incremental recomputation of active relational expressions” by Qian and Wiederhold. Technical report, AT&T Bell Laboratories. Murray Hill; 1994.Google Scholar
  5. 5.
    Gupta A, Jagadish H, Mumick IS Data integration using self-maintainable views. In: Advances in Database Technology, Proceedings of the 5th International Conference on Extending Database Technology; 1996. p. 140–4.CrossRefGoogle Scholar
  6. 6.
    Gupta A, Jagadish HV, Mumick IS Maintenance and self-maintenance of outerjoin views. In: Proceedings of the Workshops on Next Generational Information Technologies and Systems; 1997.Google Scholar
  7. 7.
    Gupta H, Mumick IS Incremental maintenance of aggregate and outerjoin expressions. Inform Syst. 2006;31(6).CrossRefGoogle Scholar
  8. 8.
    Gupta A, Mumick I, Subrahmanian V Maintaining views incrementally. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 1993. p. 157–66.Google Scholar
  9. 9.
    Mumick I, Quass D, Mumick B Maintenance of data cubes and summary tables in a warehouse. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 1997. p. 100–11.Google Scholar
  10. 10.
    Palpanas T, Sidle R, Cochrane R, Pirahesh H Incremental maintenance for non-distributive aggregate functions. In: Proceedings of the 28th International Conference on Very Large Data Bases; 2002. p. 802–13.CrossRefGoogle Scholar
  11. 11.
    Qian X, Wiederhold G. Incremental recomputation of active relational expressions. IEEE Trans Knowl Data Eng. 1991;3(3):337–41.CrossRefGoogle Scholar
  12. 12.
    Quass D Materialized views in data warehouses. PhD thesis, Stanford University, Department of Computer Science, 1997. Chapter 4. Preliminary version appears as Maintenance Expressions for Views with Aggregation in the ACM Workshop on Materialized Views. 1996.Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Stony Brook UniversityStony BrookUSA

Section editors and affiliations

  • Yannis Kotidis
    • 1
  1. 1.Department of InformaticsAthens University of Economics and BusinessAthensGreece