Evaluating top- <i>k</i> queries over web-accessible databases

Amélie Marian, Nicolas Bruno, Luis Gravano

ACM Transactions on Database Systems · 2004 · 326 citations · 32 references

Concepts

TL;DR

Top‑k queries over web‑accessible databases are common but difficult to process efficiently because attribute values are often retrieved through external form interfaces that impose high, variable latency. The study investigates efficient processing of such top‑k queries when the attributes required by the user are supplied by autonomous external sources. The authors propose a sequential baseline algorithm and then an improved parallel algorithm that maximizes source‑access concurrency while respecting each source’s probe limits. Experimental results on synthetic and real web‑accessible data demonstrate that the parallel algorithm achieves substantially lower query response times than the sequential approach.

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. We evaluate our techniques experimentally using both synthetic and real web-accessible data and show that parallel algorithms can be significantly more efficient than their sequential counterparts.

References

32