Evaluating top-k queries over web-accessible databases

Amélie Marian, Nicolas Bruno, Luis Gravano

Research output: Contribution to journalReview articlepeer-review

192 Scopus citations

Abstract

A query to a web search engine usually consists of a list of keywords, to which the search engine responds with the best or "top" k pages for the query. This top-k query model is prevalent over multimedia collections in general, but also over plain relational data for certain applications. For example, consider a relation with information on available restaurants, including their location, price range for one diner, and overall food rating. A user who queries such a relation might simply specify the user's location and target price range, and expect in return the best 10 restaurants in terms of some combination of proximity to the user, closeness of match to the target price range, and overall food rating. Processing top-k queries efficiently is challenging for a number of reasons. One critical such reason is that, in many web applications, the relation attributes might not be available other than through external web-accessible form interfaces, which we will have to query repeatedly for a potentially large set of candidate objects. In this article, we study how to process top-k queries efficiently in this setting, where the attributes for which users specify target values might be handled by external, autonomous sources with a variety of access interfaces. We present a sequential algorithm for processing such queries, but observe that any sequential top-k query processing strategy is bound to require unnecessarily long query processing times, since web accesses exhibit high and variable latency. Fortunately, web sources can be probed in parallel, and each source can typically process concurrent requests, although sources may impose some restrictions on the type and number of probes that they are willing to accept. We adapt our sequential query processing technique and introduce an efficient algorithm that maximizes source-access parallelism to minimize query response time, while satisfying source-access constraints.

Original languageAmerican English
Pages (from-to)319-362
Number of pages44
JournalACM Transactions on Database Systems
Volume29
Issue number2
DOIs
StatePublished - Jun 2004
Externally publishedYes

ASJC Scopus subject areas

  • Information Systems

Keywords

  • Parallel query processing
  • Query optimization
  • Top-k query processing
  • Web databases

Fingerprint

Dive into the research topics of 'Evaluating top-k queries over web-accessible databases'. Together they form a unique fingerprint.

Cite this