MetaCartSign in to MyCiteSeer

Include Citations | Advanced Search | Help

Include Citations | Advanced Search | Help

  Algorithms for Rewriting Aggregate Queries Using

Download:
Download as a PDF | Download as a PS
by Alexander Serebrenik, Alexander Serebrenik, Sara Cohen, Sara Cohen, Sara Cohen, Werner Nutt, Werner Nutt, Werner Nutt
http://www.cs.kuleuven.ac.be/publicaties/rapporten/cw/CW292.ps.gz
Add To MetaCart

Abstract:

Queries involving aggregation are typical in database applications. One of the main ideas to optimize the execution of an aggregate query is to reuse results of previously answered queries. This leads to the problem of rewriting aggregate queries using views. Due to a lack of theory, algorithms for this problem were rather ad-hoc. They were sound, but were not proven to be complete. Recently we have given syntactic characterizations for the equivalence of aggregate queries and applied them to decide when there exist rewritings. However, these decision procedures do not lend themselves immediately to an implementation. In this paper, we present practical algorithms for rewriting queries with count and sum. Our algorithms are sound. They are also complete for important cases. Our techniques can be used to improve well-known procedures for rewriting non-aggregate queries. These procedures can then be adapted to obtain algorithms for rewriting queries with min and max. The algorithms presented are a basis for realizing optimizers that rewrite queries using views.

Citations

621 Querying Heterogeneous Information Sources Using Source Descriptions – Levy, Rajaraman, et al. - 1996
397 Answering queries using views – Levy, Mendelzon, et al. - 1995
386 Implementing data cubes efficiently – Harinarayan, Rajaraman, et al. - 1996
215 Data model and query evaluation in global information systems – Srivastava, Kirk - 1995
185 Sleepers and workaholics: caching strategies for mobile environments – Barbara, Imielinski - 1994
131 Query folding – Qian - 1996
114 On conjunctive queries containing inequalities – Klug - 1988
74 Rewriting aggregate queries using views – Cohen, Nutt, et al. - 1999
71 Query answering algorithms for information agents – Levy, Ordille - 1996
50 Answering Queries with Aggregation Using Views – Dar, Jagadish, et al. - 1996
24 Deciding equivalences among aggregate queries – Nutt, Sagiv, et al. - 1998
10 Aggregate query processing in data warehouses – Gupta, Harinarayan, et al. - 1995