Optimal Aggregation Algorithms for Middleware
Abstract
Let D be a database of N objects where each object has m fields. The objects are given in m sorted lists (where the ith list is sorted according to the ith field). Our goal is to find the top k objects according to a monotone aggregation function t, while minimizing access to the lists. The problem arises in several contexts. In particular Fagin (JCSS 1999) considered it for the purpose of aggregating information in a multimedia database system. We are interested in instance optimality, i.e. that our algorithm will be as good as any other (correct) algorithm on any instance. We provide and analyze several instance optimal algorithms for the task, with various access costs and models.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2002
- DOI:
- arXiv:
- arXiv:cs/0204046
- Bibcode:
- 2002cs........4046F
- Keywords:
-
- Databases;
- Data Structures and Algorithms;
- H.2.4;
- F.2.2
- E-Print:
- 41 pages. Preliminary version appeared in ACM PODS 2001, pp. 102-113