skip to main content
10.1145/375663.375703acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Materialized view selection and maintenance using multi-query optimization

Published:01 May 2001Publication History

ABSTRACT

Materialized views have been found to be very effective at speeding up queries, and are increasingly being supported by commercial databases and data warehouse systems. However, whereas the amount of data entering a warehouse and the number of materialized views are rapidly increasing, the time window available for maintaining materialized views is shrinking. These trends necessitate efficient techniques for the maintenance of materialized views.

In this paper, we show how to find an efficient plan for the maintenance of a set of materialized views, by exploiting common subexpressions between different view maintenance expressions. In particular, we show how to efficiently select (a) expressions and indices that can be effectively shared, by transient materialization; (b) additional expressions and indices for permanent materialization; and (c) the best maintenance plan — incremental or recomputation — for each view. These three decisions are highly interdependent, and the choice of one affects the choice of the others. We develop a framework that cleanly integrates the various choices in a systematic and efficient manner. Our evaluations show that many-fold improvement in view maintenance time can be achieved using our techniques. Our algorithms can also be used to efficiently select materialized views to speed up workloads containing queries and updates.

References

  1. 1.AGRAWAL, S., CHAUDHURI, S., AND NARASAYYA, V. R. Automated selection of materialized views and indexes in SQL databases. In Intl. Conf. Very Large Databases (2000), pp. 496-505. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.BLAKELEY, J. A., LARSON, P.- A., AND TOMPA, F. W. Efficiently updating materialized views. In ACM SIGMOD Intl. Conf. on Management of Data (1986). Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.BOBROWSKI, S. Using materialized views to speed up queries. Oracle Magazine (Sept. 1999).Google ScholarGoogle Scholar
  4. 4.COLBY, L., COLE, R. L., HASLAM, E., JAZAYERI, N., JOHNSON, G., MCKENNA, W. J., SCHUMACHER, L., AND WILHITE, D. Redbrick Vista: Aggregate computation and management. In Intl. Conf. on Data Engineering (1998). Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.GRAEFE, G., AND MCKENNA, W. J. The Volcano Optimizer Generator: Extensibility and Efficient Search. In Intl. Conf. on Data Engineering (1993). Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.GRIFFIN, T., AND LIBKIN, L. Incremental maintenance of views with duplicates. In ACM SIGMOD Intl. Conf. on Management of Data (1995). Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7.GUPTA, A., AND MUMICK, I. S. Maintenance of materialized views : Problems, techniques, and applications. IEEE Data Engineering Bulletin 18, 2 (June 1995).Google ScholarGoogle Scholar
  8. 8.GUPTA, H. Selection of views to materialize in a data warehouse. In Intl. Conf. on Database Theory (1997). Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.HARINARAYAN, V., RAJARAMAN, A., AND ULLMAN, J. Implementing data cubes efficiently. In ACM SIGMOD Intl. Conf. on Management of Data (Montreal, Canada, June 1996). Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.QUASS, D., GUPTA, A., MUMICK, I., AND WIDOM, J. Making views self-maintainable for data warehousing. In Intl. Conf. on Parallel and Distributed Information Systems (1996). Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.ROSS, K., SRIVASTAVA, D., AND SUDARSHAN, S. Materialized view maintenance and integrity constraint checking: Trading space for time. In ACM SIGMOD Intl. Conf. on Management of Data (1996). Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.ROUSSOPOLOUS, N. View indexing in relational databases. ACM Trans. on Database Systems 7, 2 (1982), 258-290. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.ROY, P., SESHADRI, S., SUDARSHAN, S., AND BHOBHE, S. Efficient and extensible algorithms for multi-query optimization. In ACM SIGMOD Intl. Conf. on Management of Data (2000). Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.SELLIS, T. K. Multiple query optimization. ACM Transactions on Database Systems 13, 1 (1988). Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.VISTA, D. Integration of incremental view maintenance into query optimizers. In Intl. Conf. on Extending Database Technology (EDBT) (1998). Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Materialized view selection and maintenance using multi-query optimization

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SIGMOD '01: Proceedings of the 2001 ACM SIGMOD international conference on Management of data
          May 2001
          630 pages
          ISBN:1581133324
          DOI:10.1145/375663

          Copyright © 2001 ACM

          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: 1 May 2001

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          SIGMOD '01 Paper Acceptance Rate44of293submissions,15%Overall Acceptance Rate785of4,003submissions,20%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader