Download:
|
by Damianos Chatziantoniou, Kenneth A. Ross
In Proceedings of the International Conference on Very Large Databases
http://140.115.82.191/warehouse/Article_3.PS
Add To MetaCart
Abstract:
Some aggregate and grouping queries are conceptually simple, but difficult to express in SQL. This difficulty causes both conceptual and implementation problems for the SQLbased database system. Complicated queries and views are hard to understand and maintain. Further, the code produced is sometimes unnecessarily inefficient, as we demonstrate experimentally using a commercial database system. In this paper, we examine a class of queries involving (potentially repeated) selection, grouping and aggregation over the same groups, and propose an extension of SQL syntax that allows the succinct representation of these queries. We propose a new relational algebra operation that represents several levels of aggregation over the same groups in an operand relation. We demonstrate that the extended relational operator can be evaluated using efficient algorithms. We describe a translation from the extended SQL language into our algebraic language. We have implemented a preprocessor that evaluates our extended language on top of a commercial
Citations
|
128
|
Classifying Schematic and Data Heterogeneity in Multidatabase Systems
– Kim, Seo
- 1991
|
|
125
|
Language features for Interoperability of Databases with Schematic Discrepancies
– Krishnamurthy, Litwin, et al.
|
|
95
|
Including Group-By in Query Optimization
– Chaudhuri, Shim
- 1994
|
|
55
|
Eager aggregation and lazy aggregation
– Yan, Larson
- 1995
|
|
53
|
Navathe, Fundamentals of Database Systems, The Benjamin/Cummings Publishing Co
– Elmasri, B
- 1989
|
|
52
|
Performing group-by before join
– Yan, Larson
- 1994
|
|
30
|
Query Optimization in Deductive and Relational Databases
– Mumick
- 1991
|
|
24
|
Why Decision Support Fails and How to Fix it
– Kimball, Strehlo
- 1995
|
|
22
|
Optimizing queries with aggregate views
– Chaudhuri, Shim
- 1996
|
|
22
|
Inderpal Singh Mumick, and Yehoshua Sagiv. Query optimization by predicate movearound
– Levy
- 1994
|
|
22
|
Providing Better Support for a Class of Decision Support Queries
– Rao, Badia, et al.
- 1996
|
|
15
|
Venky Harinarayan and Dallan Quass, Aggregatequery processing in data warehousing environments
– Gupta
- 1995
|
|
15
|
Overcoming schematic discrepancies in interoperable databases
– Saltor, Castellanos, et al.
- 1992
|
|
2
|
and Inderpal Singh Mumick. Reasoning with aggregation constraints
– Levy
- 1996
|
|
1
|
Linguistic optimization: A new approach to writing efficient SQL queries
– Rozenshtein
- 1994
|