Scientific Data Management

Last News
Jan. 1, 2011 Creation of Zenith
 





Contact:
Patrick Valduriez (Firstname.Lastname@inria.fr)



BPA Algoritms

Overview

The general problem of answering top-k queries can be modeled using lists of data items sorted by their local scores. The main algorithm proposed so far for answering top-k queries over sorted lists is the Threshold Algorithm (TA) [3]. However, TA may still incur a lot of useless accesses to the lists. We propose two algorithms that are much more efficient than TA. First, we propose the best position algorithm (BPA). For any database instance (i.e. set of sorted lists), we prove that BPA stops as early as TA, and that its execution cost is never higher than TA. We show that there are databases over which BPA executes top-k queries O(m) times faster than that of TA, where m is the number of lists. We also show that the execution cost of our algorithm can be (m-1) times lower than that of TA. Second, we propose the BPA2 algorithm which is much more efficient than BPA. We show that the number of accesses to the lists done by BPA2 can be about (m-1) times lower than that of BPA. We evaluated the performance of our algorithms through extensive experimental tests. The results show that over our test databases, BPA and BPA2 achieve significant performance gains in comparison with TA.

Download

The implemented code of BPA algorithms can be downloaded here

References

  • [1] Reza Akbarinia, Esther Pacitti, Patrick Valduriez. Best Position Algorithms for Efficient Top-k Query Processing. J. Information Systems, 2011. doi:10.1016/j.is.2011.03.010
  • [2] R. Akbarinia, E. Pacitti and P. Valduriez. Best position algorithms for top-k queries. Int. Conf. on Very Large Databases (VLDB), 495-506, 2007
  • [3] Fagin, R., Lotem, J., Naor, M.: Optimal aggregation algorithms for middleware. J. of Computer and System Sciences, 66(4) (2003) 614-656.

Contact

  • Reza Akbarinia (Firstname.LastName[at]inria.fr)
  • Esther Pacitti (LastName[at]lirmm.fr)
  • Patrick Valduriez (Firstname.LastName[at]inria.fr)

INRIA main page LIRMM main page UM2 main page