| 1 (2007) | |||||||||||||||
Abstract | |||||||||||||||
| Abstract. Complex queries, with aggregates, views and nested subqueries are important in decision-support applications. Such queries are represented as multi-block queries where a query block may be a view definition containing aggregates or a correlated nested subquery. Beyond transformations that propagate predicates across blocks, the problem of optimizing such queries has not been addressed adequately. In this paper, we show how such queries can be optimized in a cost-based fashion. The crux of our solution is a careful treatment of group-by and aggregation operators that occur among views. 1 | |||||||||||||||
Publication details | |||||||||||||||
| |||||||||||||||