skip to main content
article
Free access

Adapting materialized views after redefinitions

Published: 22 May 1995 Publication History

Abstract

We consider a variant of the view maintenance problem: How does one keep a materialized view up-to-date when the view definition itself changes? Can one do better than recomputing the view from the base relations? Traditional view maintenance tries to maintain the materialized view in response to modifications to the base relations; we try to "adapt" the view in response to changes in the view definition.Such techniques are needed for applications where the user can change queries dynamically and see the changes in the results fast. Data archaeology, data visualization, and dynamic queries are examples of such applications.We consider all possible redefinitions of SQL SELECT-FROM-WHERE-GROUPBY, UNION, and EXCEPT views, and show how these views can be adapted using the old materialization for the cases where it is possible to do so. We identify extra information that can be kept with a materialization to facilitate redefinition. Multiple simultaneous changes to a view can be handled without necessarily materializing intermediate results. We identify guidelines for users and database administrators that can be used to facilitate efficient view adaptation.

References

[1]
Christopher Ahlberg, Christopher Williamson, and Ben Shneiderman. Dynamic Queries for information exploration: an implementation and evaluation. In Ben Slmeiderman, editor, Sparks of Innovation in Human-Computer Interaction. Ablcx Publishing Corp, 1993.
[2]
Alex Borgida, et al. CLASSIC: A structural data model for objects. In A CM-SIGMOD, pages 59- 67, June 1989.
[3]
Ronald J. Brachman, et al. Knowledge representation support for data archaeology. In First International Conference on Information and Knowledge Management, pages 457-464, November 1992.
[4]
Ronald J. Brachman, et al. Integrated support for data archaeology. International Journal of Intelligent and Cooperative Information Systems, 2:159-185, 1993.
[5]
Surajit Chaudhuri, Ravi Krishnamurthy, Spyros Potamianos, and Kyuseok Shim. Optimizing queries with materialized views. To appear in Proceedings of International Conference on Data Engineering, 1995.
[6]
Ashish Gupta, Inderpal Singh Mumick, and Kenneth A. Ross. Adapting materialized views after redefinitions. Columbia University Technical Report number CUCS-010-95, March 1995.
[7]
Ashish Gupta, Inderpal Singh Mumick, and V. S. Subrahrnanian. Maintaining views incrementally. In SIGMOD, pages 157-167, 1993.
[8]
Ashish Gupta, Yehoshua Sagiv, Jeffrey D. Ullman, and Jennifer Widom. Constraint Checking with Partial Information. In PODS, pages 45-55, 1994.
[9]
Alon Levy, Inderpal Singh Mumick, and Yehoshua Sagiv. Query optimization by predicate movearound. In Bocca et al. VLDB, pages 96-107, 1994.
[10]
Alon Y. Levy, Alberto O. Mendelzon, Yehoshua Sagiv, and Divesh Srivastava. Answering queries using views. To appear in PODS, 1995.
[11]
P.A. Larson and H.Z. Yang. Computing queries from derived relations. In VLDB, pages 259- 269, 1985.
[12]
I.S. Mumick, H. Pirahesh, and R. Ramakrishnan. The magic of duplicates and aggregates. In VLDB, 1990.
[13]
Anand Rajaraman, Yehoshua Sagiv, and Jeffrey Ullman. Answering queries using templates with binding patterns. To appear in PODS, 1995.
[14]
Odysseas G. Tsatalos, Marvin H. Solomon, and Yannis E. ioannidis. The GMAP: A versatile tool for physical data independence. In Bocca et al. VLDB, pages 367-378, 1994.
[15]
Jeffrey D. Ullman. Principles of Database and Knowledge-Base Systems, Volume 2. Computer Science Press, 1989.
[16]
Christopher Williamson and Ben Shneiderman. The Dynamic HomeFinder: evaluating Dynamic Queries in a real- estate information exploration system. In Ben Shneiderman, editor, Sparks of Innovation in Human-Computer Interaction. Ablex Publishing Corp, 1993.
[17]
H.Z. Yang and P. A. Larson. Query transformation for PSJ-queries. In VLDB, pages 245-254, 1987.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGMOD Record
ACM SIGMOD Record  Volume 24, Issue 2
May 1995
490 pages
ISSN:0163-5808
DOI:10.1145/568271
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGMOD '95: Proceedings of the 1995 ACM SIGMOD international conference on Management of data
    June 1995
    508 pages
    ISBN:0897917316
    DOI:10.1145/223784
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 May 1995
Published in SIGMOD Volume 24, Issue 2

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)94
  • Downloads (Last 6 weeks)24
Reflects downloads up to 24 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media