Aggregate Predicate Support in DBMS

Natsev, A.P., Fuh, G.Y.C., Chen, W., Chiu, C. and Vitter, J.S.

    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 required 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 proposed a new rk_SORT operator into the database engine, and student 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.
Cite as: Natsev, A.P., Fuh, G.Y.C., Chen, W., Chiu, C. and Vitter, J.S. (2002). Aggregate Predicate Support in DBMS. In Proc. Thirteenth Australasian Database Conference (ADC2002), Melbourne, Australia. CRPIT, 5. Zhou, X., Ed. ACS. 111-120.
pdf (from crpit.com) pdf (local if available) BibTeX EndNote GS