Pushing extrema aggregates to optimize logic queries

作者:

Highlights:

摘要

In this paper, we explore the possibility of transforming queries with minimum and maximum predicates into equivalent queries that can be computed more efficiently. The main contribution of the paper is an algorithm for propagating min and max predicates while preserving query equivalence under certain monotonicity constraints. We show that the algorithm is correct and that the transformed query is often safe when the original one is not. Although in this paper we use logic rules, the technique presented can be used to optimize (possibly recursive) queries expressed using SQL3.

论文关键词:Databases,Query optimization,Aggregates

论文评审过程:Received 5 March 2001, Revised 31 July 2001, Accepted 5 December 2001, Available online 12 February 2002.

论文官网地址:https://doi.org/10.1016/S0306-4379(02)00006-6