Optimal aggregation algorithms for middleware

By Ronald Fagin, Amnon Lotem, Moni Naor. ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, 2001

2,152 citations recorded by the source corpus.

Assume that each object in a database has m grades, or scores, one for each of m attributes. For example, an object can have a color grade, that tells how red it is, and a shape grade, that tells how round it is. For each attribute, there is a sorted list, which lists each object and its grade under that attribute, sorted by grade (highest grade first). There is some monotone aggregation function, or combining rule, such as min or average, that combines the individual grades to obtain an overall grade. To determine objects that have the best overall grades, the naive algorithm must access every object in the database, to find its grade under each attribute. Fagin has given an algorithm (“Fagin's Algorithm”, or FA) that is much more efficient. For some distributions on grades, and for some monotone aggregation functions, FA is optimal in a high-probability sense. We analyze an elegant and remarkably simple algorithm (“the threshold algorithm”, or TA) that is optimal in a much stronger sense than FA. We show that TA is essentially optimal, not just for some monotone aggregation functions, but for all of them, and not just in a high-probability sense, but over every database. Unlike FA, which requires large buffers (whose size may grow unboundedly as the database size grows), TA requires only a small, constant-size buffer. We distinguish two types of access: sorted access (where the middleware system obtains the grade of an object in some sorted list by proceeding through the list sequentially from the top), and random access (where the middleware system requests the grade of object in a list, and obtains it in one step). We consider the scenarios where random access is either impossible, or expensive relative to sorted access, and provide algorithms that are essentially optimal for these cases as well.

Subfields: Computational Theory and Mathematics, Computer Vision and Pattern Recognition, Signal Processing

View Paper: https://www.semanticscholar.org/paper/e1f3c9b4da3c84ef47d357140e842d44056c8a98

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computational Theory and Mathematics

  1. Jiawei Han
  2. Xifeng Yan
  3. Jian Pei
  4. Philip S. Yu
  5. Cynthia Rudin
  6. Haixun Wang
  7. M. Franklin
  8. Brian Babcock

In Computer Vision and Pattern Recognition

  1. Jiawei Han
  2. Xuemin Lin
  3. Philip S. Yu
  4. Xifeng Yan
  5. Mohamed F. Mokbel
  6. Luis Gravano
  7. Haixun Wang
  8. Dimitris Papadias

In Signal Processing

  1. Yannis Papakonstantinou
  2. Charu C. Aggarwal
  3. Ihab F. Ilyas
  4. Xuemin Lin
  5. Vagelis Hristidis
  6. Jiawei Han
  7. Philip S. Yu
  8. Gao Cong

Citations in the corpus