WSQ/DSQ

Roy Goldman, Jennifer Widom

ACM SIGMOD Record · 2000 · 110 citations · 27 references

Concepts

TL;DR

Combining database queries with Web search results, WSQ and DSQ use each side’s data to enhance the other, and the asynchronous iteration technique underlying WSQ has broader applications beyond this specific system. This paper introduces WSQ/DSQ and focuses on WSQ, presenting a low‑overhead method to support it in a relational DBMS and demonstrating its utility with several queries. WSQ uses two virtual tables that materialize Web search results on the fly, and employs a lightweight asynchronous‑iteration technique that allows the query processor to run concurrently with multiple high‑latency search engine calls. A prototype implementation of WSQ was built by extending a DBMS with virtual tables and asynchronous iteration, and its performance results are reported.

Abstract

We present WSQ/DSQ (pronounced “wisk-disk”), a new approach for combining the query facilities of traditional databases with existing search engines on the Web. WSQ, for Web-Supported (Database) Queries , leverages results from Web searches to enhance SQL queries over a relational database. DSQ, for Database-Supported (Web) Queries , uses information stored in the database to enhance and explain Web searches. This paper focuses primarily on WSQ, describing a simple, low-overhead way to support WSQ in a relational DBMS, and demonstrating the utility of WSQ with a number of interesting queries and results. The queries supported by WSQ are enabled by two virtual tables , whose tuples represent Web search results generated dynamically during query execution. WSQ query execution may involve many high-latency calls to one or more search engines, during which the query processor is idle. We present a lightweight technique called asynchronous iteration that can be integrated easily into a standard sequential query processor to enable concurrency between query processing and multiple Web search requests. Asynchronous iteration has broader applications than WSQ alone, and it opens up many interesting query optimization issues. We have developed a prototype implementation of WSQ by extending a DBMS with virtual tables and asynchronous iteration; performance results are reported.

References

27