Pushing extrema aggregates to optimize logic queries

  • Authors:
  • Filippo Furfaro;Sergio Greco;Sumit Ganguly;Carlo Zaniolo

  • Affiliations:
  • Dipto Elettronica Informatica e Sistemistica, Universitè della Calabria, ISI-CNR, Via P. Bucci 41 C, 87030 Rende-Cosenza, Italy;Dipto Elettronica Informatica e Sistemistica, Universitè della Calabria, ISI-CNR, Via P. Bucci 41 C, 87030 Rende-Cosenza, Italy;Department of Computer Science and Engineering, Indian Institute of Technology, Kanpur 208016, India;Computer Science Department, University of California at Los Angeles, Los Angeles, CA

  • Venue:
  • Information Systems
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.