Answering Queries with Aggregation Using Views.
Divesh Srivastava, Shaul Dar, H. V. Jagadish, Alon Y. Levy:
Answering Queries with Aggregation Using Views.
VLDB 1996: 318-329@inproceedings{DBLP:conf/vldb/SrivastavaDJL96,
author = {Divesh Srivastava and
Shaul Dar and
H. V. Jagadish and
Alon Y. Levy},
editor = {T. M. Vijayaraman and
Alejandro P. Buchmann and
C. Mohan and
Nandlal L. Sarda},
title = {Answering Queries with Aggregation Using Views},
booktitle = {VLDB'96, Proceedings of 22th International Conference on Very
Large Data Bases, September 3-6, 1996, Mumbai (Bombay), India},
publisher = {Morgan Kaufmann},
year = {1996},
isbn = {1-55860-382-4},
pages = {318-329},
ee = {db/conf/vldb/SrivastavaDJL96.html},
crossref = {DBLP:conf/vldb/96},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
We present novel algorithms for the problem of using materialized
views to compute answers to SQL queries with grouping and
aggregation, in the presence of multiset tables. In addition to
its obvious potential in query optimization, this problem is
important in many applications, such as data warehousing, mobile
computing and global information systems, where access to local
or cached materialized views may be cheaper than access to the
underlying database. Our contributions are the following:
First, we show that in the case where the query has grouping and
aggregation but the views do not, a view is usable in answering
the query only if there is an isomorphism between the view and
a portion of the query.
Second, when the views also have grouping and aggregation we
identify conditions under which the aggregation information
present in a view is sufficient to perform the aggregation
computations required in the query.
Our approach is complete, in that it can always, under a set of
reasonable assumptions, detect when information existing in the
views is sufficient to answer the query. In contrast, previous
work attempted to perform syntactic transformations on the query
such that the definition of the view would be a sub-part of the
definition of the query. Consequently, these methods can only
detect usages of views in limited cases.
Copyright © 1996 by the VLDB Endowment.
Permission to copy without fee all or part of this material is granted provided that the copies are not made or
distributed for direct commercial advantage, the VLDB
copyright notice and the title of the publication and
its date appear, and notice is given that copying
is by the permission of the Very Large Data Base
Endowment. To copy otherwise, or to republish, requires
a fee and/or special permission from the Endowment.
Online Paper
CDROM Version: Load the CDROM "Volume 1 Issue 5, VLDB '89-'97" and ...
DVD Version: Load ACM SIGMOD Anthology DVD 1" and ...
Printed Edition
T. M. Vijayaraman, Alejandro P. Buchmann, C. Mohan, Nandlal L. Sarda (Eds.):
VLDB'96, Proceedings of 22th International Conference on Very Large Data Bases, September 3-6, 1996, Mumbai (Bombay), India.
Morgan Kaufmann 1996, ISBN 1-55860-382-4
Contents
Electronic Edition
References
- [BI94]
- Daniel Barbará, Tomasz Imielinski:
Sleepers and Workaholics: Caching Strategies in Mobile Environments.
SIGMOD Conference 1994: 1-12
- [CKPS95]
- Surajit Chaudhuri, Ravi Krishnamurthy, Spyros Potamianos, Kyuseok Shim:
Optimizing Queries with Materialized Views.
ICDE 1995: 190-200
- [CR94]
- Chung-Min Chen, Nick Roussopoulos:
The Implementation and Performance Evaluation of the ADMS Query Optimizer: Integrating Query Result Caching and Matching.
EDBT 1994: 323-336
- [CS94]
- Surajit Chaudhuri, Kyuseok Shim:
Including Group-By in Query Optimization.
VLDB 1994: 354-366
- [CS96]
- Surajit Chaudhuri, Kyuseok Shim:
Optimizing Queries with Aggregate Views.
EDBT 1996: 167-182
- [CV93]
- Surajit Chaudhuri, Moshe Y. Vardi:
Optimization of Real Conjunctive Queries.
PODS 1993: 59-70
- [Fin82]
- Sheldon J. Finkelstein:
Common Subexpression Analysis in Database Applications.
SIGMOD Conference 1982: 235-245
- [GHQ95]
- Ashish Gupta, Venky Harinarayan, Dallan Quass:
Aggregate-Query Processing in Data Warehousing Environments.
VLDB 1995: 358-369
- [GJM96]
- Ashish Gupta, H. V. Jagadish, Inderpal Singh Mumick:
Data Integration using Self-Maintainable Views.
EDBT 1996: 140-144
- [GMR95]
- Ashish Gupta, Inderpal Singh Mumick, Kenneth A. Ross:
Adapting Materialized Views after Redefinitions.
SIGMOD Conference 1995: 211-222
- [JMS95]
- H. V. Jagadish, Inderpal Singh Mumick, Abraham Silberschatz:
View Maintenance Issues for the Chronicle Data Model.
PODS 1995: 113-124
- [LM96]
- Alon Y. Levy, Inderpal Singh Mumick:
Reasoning with Aggregation Constraints.
EDBT 1996: 514-534
- [LMS94]
- Alon Y. Levy, Inderpal Singh Mumick, Yehoshua Sagiv:
Query Optimization by Predicate Move-Around.
VLDB 1994: 96-107
- [LMSS95]
- Alon Y. Levy, Alberto O. Mendelzon, Yehoshua Sagiv, Divesh Srivastava:
Answering Queries Using Views.
PODS 1995: 95-104
- [LRO96]
- Alon Y. Levy, Anand Rajaraman, Joann J. Ordille:
Querying Heterogeneous Information Sources Using Source Descriptions.
VLDB 1996: 251-262
- [LSK95]
- Alon Y. Levy, Divesh Srivastava, Thomas Kirk:
Data Model and Query Evaluation in Global Information Systems.
J. Intell. Inf. Syst. 5(2): 121-143(1995)
- [RSSS95]
- Kenneth A. Ross, Divesh Srivastava, Peter J. Stuckey, S. Sudarshan:
Foundations of Aggregation Constraints.
PPCP 1994: 193-204
- [Sel88]
- Timos K. Sellis:
Intelligent caching and indexing techniques for relational database systems.
Inf. Syst. 13(2): 175-185(1988)
- [SJGP90]
- Michael Stonebraker, Anant Jhingran, Jeffrey Goh, Spyros Potamianos:
On Rules, Procedures, Caching and Views in Data Base Systems.
SIGMOD Conference 1990: 281-290
- [TSI94]
- Odysseas G. Tsatalos, Marvin H. Solomon, Yannis E. Ioannidis:
The GMAP: A Versatile Tool for Physical Data Independence.
VLDB 1994: 367-378
- [YL87]
- H. Z. Yang, Per-Åke Larson:
Query Transformation for PSJ-Queries.
VLDB 1987: 245-254
- [YL94]
- Weipeng P. Yan, Per-Åke Larson:
Performing Group-By before Join.
ICDE 1994: 89-100
- [ZGMHW95]
- Yue Zhuge, Hector Garcia-Molina, Joachim Hammer, Jennifer Widom:
View Maintenance in a Warehousing Environment.
SIGMOD Conference 1995: 316-327
Copyright © Fri Mar 12 17:22:54 2010
by Michael Ley (ley@uni-trier.de)