1 research outputs found

    A Tractable Query Cache By Approximation

    No full text
    In this paper we present the organization of a predicate-based query cache suitable for integration with agent-based heterogeneous database systems. The cache is managed using a tractable (sound and complete) query containment algorithm, yet there are no language restrictions placed on the applications. This is accomplished by introducing query approximation. Query approximation is a compilation technique where a query expression in a general query language is mapped to a query expression in a restricted language. We define a target language such that query containment can be tested in polynomial time. We define a query approximation method that guarantees that the approximate query contains the original query. In the remainder of the paper we specify the algorithms by which the query engine and the cache manager may negotiate a choice of approximation and the development of a query plan. We use two application workloads and the TPC-D benchmark queries to assess the impact of query app..
    corecore