Best Position Algorithms for Top-k QueriesReport as inadecuate




Best Position Algorithms for Top-k Queries - Download this document for free, or read online. Document in PDF available to download.

1 ATLAS - Complex data management in distributed systems UN - Université de Nantes, Inria Rennes – Bretagne Atlantique 2 LINA - Laboratoire d-Informatique de Nantes Atlantique

Abstract : The general problem of answering top-k queries can be modeled using lists of data items sorted by their local scores. The most efficient algorithm proposed so far for answering top-k queries over sorted lists is the Threshold Algorithm TA. However, TA may still incur a lot of useless accesses to the lists. In this paper, we propose two new algorithms which stop much sooner. First, we propose the best position algorithm BPA which executes top-k queries more efficiently than TA. 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 the position at which BPA stops can be m-1 times lower 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. Our performance evaluation shows that over our test databases, BPA and BPA2 achieve significant performance gains in comparison with TA.

Keywords : Top-k query threshold algorithm TA sorted lists





Author: Reza Akbarinia - Esther Pacitti - Patrick Valduriez -

Source: https://hal.archives-ouvertes.fr/



DOWNLOAD PDF




Related documents