Abstract.
The problem of answering queries using views is to find efficient methods of answering a query using a set of previously materialized views over the database, rather than accessing the database relations. The problem has received significant attention because of its relevance to a wide variety of data management problems, such as data integration, query optimization, and the maintenance of physical data independence. To date, the performance of proposed algorithms has received very little attention, and in particular, their scale up in the presence of a large number of views is unknown. We first analyze two previous algorithms, the bucket algorithm and the inverse-rules, and show their deficiencies. We then describe the MiniCon, a novel algorithm for finding the maximally-contained rewriting of a conjunctive query using a set of conjunctive views. We present the first experimental study of algorithms for answering queries using views. The study shows that the MiniCon scales up well and significantly outperforms the previous algorithms. We describe an extension of the MiniCon to handle comparison predicates, and show its performance experimentally. Finally, we describe how the MiniCon can be extended to the context of query optimization.
Similar content being viewed by others
Author information
Authors and Affiliations
Additional information
Received: 15 October 2000 / Accepted: 15 April 2001 Published online: 28 June 2001
Rights and permissions
About this article
Cite this article
Pottinger, R., Halevy, A. MiniCon: A scalable algorithm for answering queries using views. The VLDB Journal 10, 182–198 (2001). https://doi.org/10.1007/s007780100048
Issue Date:
DOI: https://doi.org/10.1007/s007780100048