next up previous
Next: XPathLearner: An On-Line Self-Tuning Up: EXTERNAL MEMORY ALGORITHMS, I/O Previous: Optimal Incremental Algorithms for

   
Aggregate Predicate support in DBMS

A. Natsev, G. Fuh, W. Chen, C.-H. Chiu, and J. S. Vitter. ``Aggregate Predicate Support in DBMS,'' Proceedings of the 13th Australasian Database Conference (ADC '02), Melbourne, Australia, January 2002, published in Conferences in Research and Practice in Information Technology, Vol. 5, Xiaofang Zhou, Ed.

Full text (gzip-compressed postscript)

Full text (Adobe pdf format)

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.


next up previous
Next: XPathLearner: An On-Line Self-Tuning Up: EXTERNAL MEMORY ALGORITHMS, I/O Previous: Optimal Incremental Algorithms for
Jeff Vitter
2008-04-02