Aggregate predicate support in DBMS

  • Authors:
  • Apostol (Paul) Natsev;Gene Y. C. Fuh;Weidong Chen;Chi-Huang Chiu;Jeffrey S. Vitter

  • Affiliations:
  • IBM Watson Research Center, Hawthorne, NY;IBM DBTI/390, San Jose, CA;LinkAir Communications, Inc., San Jose, CA;National Chiao-Tung Univ., Hsin-Tsu, Taiwan;Duke University, Durham, NC

  • Venue:
  • ADC '02 Proceedings of the 13th Australasian database conference - Volume 5
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we consider aggregate predicates and their support in database systems. Aggregate predicates are the predicate equivalent to aggregate functions in that they can be used to search for tuples that satisfy some aggregate property over a set of tuples (as opposed to simply computing an aggregate property over a set of tuples). The importance of aggregate predicates is exemplified by many modern applications that require ranked search, or top-k queries. Such queries are the norm in multimedia and spatial databases.In order to support the concept of aggregate predicates in DBMS, we introduce several extensions in the query language and the database engine. Specifically, we extend the SQL syntax to handle aggregate predicates and work out the semantics of such extensions so that they behave correctly in the existing database model. We also propose a a new rk_SORT operator into the database engine, and study relevant indexing and query optimization issues.Our approach provides several advantages, including enhanced usability and improved performance. By supporting aggregate predicates natively in the database engine, we are able to reuse existing indexing and query optimization techniques, without sacrificing generality or incurring the runtime overhead of database-external approaches. To the best of our knowledge, the proposed framework is the first to support user-defined indexing with aggregate predicates and search based upon user-defined ranking. We also provide empirical results from a simulation study that validates the effectiveness of our approach.