Skip to main content

Selection of Views to Materialize Under a Maintenance Cost Constraint

  • Conference paper
  • First Online:
Database Theory — ICDT’99 (ICDT 1999)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1540))

Included in the following conference series:

Abstract

A data warehouse stores materialized views derived from one or more sources for the purpose of efficiently implementing decision-support or OLAP queries. One of the most important decisions in designing a data warehouse is the selection of materialized views to be maintained at the warehouse. The goal is to select an appropriate set of views that minimizes total query response time and/or the cost of maintaining the selected views, given a limited amount of resource such as materialization time, storage space, or total view maintenance time. In this article, we develop algorithms to select a set of views to materialize in a data warehouse in order to minimize the total query response time under the constraint of a given total view maintenance time. As the above maintenance-cost view-selection problem is extremely intractable, we tackle some special cases and design approximation algorithms. First, we design an approximation greedy algorithm for the maintenance-cost view-selection problem in OR view graphs, which arise in many practical applications, e.g., data cubes. We prove that the query benefit of the solution delivered by the proposed greedy heuristic is within 63% of that of the optimal solution. Second, we also design an A* heuristic, that delivers an optimal solution, for the general case of AND-OR view graphs. We implemented our algorithms and a performance study of the algorithms shows that the proposed greedy algorithm for OR view graphs almost always delivers an optimal solution.

Supported by NSF grant IRI-96-31952.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. E. Baralis, S. Paraboschi, and E. Teniente. Materialized view selection in a multidimensional database. In Proc. of the VLDB, 1997.

    Google Scholar 

  2. S. Ceri and J. Widom. Deriving production rules for incremental view maintenance. In Proc. of the VLDB, 1991.

    Google Scholar 

  3. H. Gupta, V. Harinarayan, A. Rajaraman, and J. Ullman. Index selection in OLAP. In Proc. of the Intl. Conf. on Data Engineering, 1997.

    Google Scholar 

  4. A. Gupta and I.S. Mumick. Maintenance of materialized views: Problems, techniques, and applications. IEEE Data Eng. Bulletin, Special Issue on Materialized Views and Data Warehousing, 18(2), 1995.

    Google Scholar 

  5. H. Gupta. Selection of views to materialize in a data warehouse. In Proceedings of the Intl. Conf. on Database Theory, Delphi, Greece, 1997.

    Google Scholar 

  6. HGMW+95._J. Hammer, H. Garcia-Molina, J. Widom, W. Labio, and Y. Zhuge. The Stanford Data Warehousing Project. IEEE Data Eng. Bulletin, Special Issue on Materialized Views and Data Warehousing, 1995.

    Google Scholar 

  7. V. Harinarayan, A. Rajaraman, and J. Ullman. Implementing data cubes efficiently. In Proceedings of the ACM SIGMOD, June 1996.

    Google Scholar 

  8. W.H. Inmon and C. Kelley. Rdb/VMS: Developing the Data Warehouse. QED Publishing Group, Boston, Massachussetts, 1993.

    Google Scholar 

  9. I. Mumick, D. Quass, and B. Mumick. Maintenance of data cubes and summary tables in a warehouse. In Proceedings of the ACM SIGMOD International Conference of Management of Data, 1997.

    Google Scholar 

  10. Nils J. Nilsson. Principles of Artificial Intelligence. Morgan Kaufmann Publishers, Inc., 1980.

    Google Scholar 

  11. N. Roussopoulos. View indexing in relational databases. ACM Transactions on Database Systems, 7(2):258–290, June 1982.

    Article  MATH  Google Scholar 

  12. K. A. Ross, Divesh Srivastava, and S. Sudarshan. Materialized view maintenance and integrity constraint checking: Trading space for time. In Proceedings of the ACM SIGMOD, 1996.

    Google Scholar 

  13. D. Theodoratos and T. Sellis. Data warehouse configuration. In Proceedings of the 23rd Intl. Conf. on Very Large Data Bases, 1997.

    Google Scholar 

  14. WGL+96._J. Wiener, H. Gupta, W. Labio, Y. Zhuge, H. Garcia-Molina, and J. Widom. A system prototype for warehouse view maintenance. In Workshop on Materialized Views: Techniques and Applications, 1996.

    Google Scholar 

  15. J. Widom. Research problems in data warehousing. In Proc. of the Intl. Conf. on Information and Knowledge Management, 1995.

    Google Scholar 

  16. J. Yang, K. Karlapalem, and Q. Li. Algorithms for materialized view design in data warehousing environment. In Proc. of the VLDB, 1997.

    Google Scholar 

  17. Y. Zhuge, H. Garcia-Molina, J. Hammer, and J. Widom. View maintenance in a warehousing environment. In Proc. of the ACM SIGMOD International Conference on Management of Data, 1995.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gupta, H., Mumick, I.S. (1999). Selection of Views to Materialize Under a Maintenance Cost Constraint. In: Beeri, C., Buneman, P. (eds) Database Theory — ICDT’99. ICDT 1999. Lecture Notes in Computer Science, vol 1540. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49257-7_28

Download citation

  • DOI: https://doi.org/10.1007/3-540-49257-7_28

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65452-0

  • Online ISBN: 978-3-540-49257-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics