ACM Home Page
Please provide us with feedback. Feedback
Rewriting queries with arbitrary aggregation functions using views
Full text PdfPdf (294 KB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 31 ,  Issue 2  (June 2006) table of contents
Pages: 672 - 715  
Year of Publication: 2006
ISSN:0362-5915
Authors
Sara Cohen  Technion---Israel Institute of Technology, Haifa, Israel
Werner Nutt  Free University of Bozen-Bolzano, Bozen, Italy
Yehoshua Sagiv  Hebrew University, Jerusalem, Israel
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 17,   Downloads (12 Months): 89,   Citation Count: 3
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1138394.1138400
What is a DOI?

ABSTRACT

The problem of rewriting aggregate queries using views is studied for conjunctive queries with arbitrary aggregation functions and built-in predicates. Two types of queries over views are introduced for rewriting aggregate queries: pure candidates and aggregate candidates. Pure candidates can be used to rewrite arbitrary aggregate queries. Aggregate candidates can be used to rewrite queries containing aggregate functions definable in terms of a commutative-semigroup operation. For both types of candidates (as well as for several relaxations of these candidates), the unfolding property holds. This allows characterizations for query equivalence to be used to determine whether a candidate is a rewriting of a query. The complexity of the rewriting-existence problem is also studied and upper and lower complexity bounds are given.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Afrati, F. and Chirkova, R. 2005. Selecting and using views to compute aggregate queries. In Proceedings of the 10th International Conference on Database Theory (Edinburgh, UK). Lecture Notes in Computer Science. Springer-Verlag, New York.
 
2
3
 
4
Cohen, S. 2004. Equivalence, containment and rewriting of aggregate queries. Ph.D. dissertation, The Hebrew University of Jerusalem, Edmond J. Safra Campus, Jerusalem 91904, Israel. Available at http://iew3.technion.ac.il/~sarac.
5
 
6
7
8
 
9
 
10
Cohen, S., Nutt, W., and Serebrenik, A. 2000b. Algorithms for rewriting aggregate queries using views. Tech. Rep. CW292, Departement Computerwetenschappen, K.U. Leuven, Leuven, Belgium. Available at http://www.cs.kuleuven.ac.be/publicaties/rapporten/cw/CW292.abs.html.
11
 
12
Florescu, D., Raschid, L., and Valduriez, P. 1995. Using heterogeneous equivalences for query rewriting in multidatabase systems. In Proceedings of the 3rd International Conference on Cooperative Information Systems (CoopIS) (Vienna, Austria). 158--169.
13
14
15
 
16
 
17
 
18
 
19
 
20
21
 
22
Karp, R. 1972. Reducibility among combinatorial problems. In Complexity of Computer Computations. Plenum Press, New York.
 
23
Larson, P.-A. and Yang, H. 1985. Computing queries from derived relations. In Proceedings of the 11th International Conference on Very Large Data Bases (Stockholm, Sweden), A. Pirotte and Y. Vassiliou, Eds. Morgan-Kaufmann, San Francisco, CA, 259--269.
24
 
25
 
26
27
 
28
 
29
30
 
31
 
32
 
33
 
34
 
35
 
36
 
37
38


Collaborative Colleagues:
Sara Cohen: colleagues
Werner Nutt: colleagues
Yehoshua Sagiv: colleagues