1. A view matching system comprising the following computer implemented components: an input component that receives a query and a materialized view, wherein the materialized view only partially intersects with the query; an intersection component that determines the intersection between the query and materialized view; and a view map component that generates an intersection query by rewriting the intersection between the query and materialized view in terms of the materialized view.