• Medientyp: E-Artikel
  • Titel: Algorithms for deferred view maintenance
  • Beteiligte: Colby, Latha S.; Griffin, Timothy; Libkin, Leonid; Mumick, Inderpal Singh; Trickey, Howard
  • Erschienen: Association for Computing Machinery (ACM), 1996
  • Erschienen in: ACM SIGMOD Record
  • Sprache: Englisch
  • DOI: 10.1145/235968.233364
  • ISSN: 0163-5808
  • Schlagwörter: Information Systems ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p> Materialized views and view maintenance are important for data warehouses, retailing, banking, and billing applications. We consider two related view maintenance problems: 1) how to maintain views after the base tables have already been modified, and 2) how to minimize the time for which the view is inaccessible during maintenance.Typically, a view is maintained <jats:italic>immediately,</jats:italic> as a part of the transaction that updates the base tables. Immediate maintenance imposes a significant overhead on update transactions that cannot be tolerated in many applications. In contrast, <jats:italic>deferred</jats:italic> maintenance allows a view to become inconsistent with its definition. A <jats:italic>refresh</jats:italic> operation is used to reestablish consistency. We present new algorithms to incrementally refresh a view during deferred maintenance. Our algorithms avoid a <jats:italic>state bug</jats:italic> that has artificially limited techniques previously used for deferred maintenance.Incremental deferred view maintenance requires auxiliary tables that contain information recorded since the last view refresh. We present three scenarios for the use of auxiliary tables and show how these impact per-transaction overhead and view refresh time. Each scenario is described by an invariant that is required to hold in all database states. We then show that, with the proper choice of auxiliary tables, it is possible to lower both per-transaction overhead and view refresh time. </jats:p>
  • Zugangsstatus: Freier Zugang