You can translate the question and the replies:

About cache

I have a question about caching. I couldn't understand it by looking at the document, so could you please tell me a little more concisely and clearly? 1) What is Partial mode? 2) When "Explicit loads" is turned on and off 3) When "Match exact queries only" is turned ON and when it is turned OFF
user
14-06-2022 03:28:24 -0400
code

1 Answer

Hello, 1 - Using the “Partial cache mode”, Denodo only stores the data from the output of a query once it is run, unlike full cache mode where all the data from the underlying data source is stored in cache. Effectively, the cache is built over time with each query and their resulting output. If a new query comes in for which data is not available in the cache, then it gets passed down to the actual source to look for results. In comparison, with full mode the query is never passed to the original data source. 2 - With “Explicit load” selected, the control is with the user as to which query output should be stored in cache and which not. So if the user is trying a sample query and doesn’t feel the need to store the result in cache, then they just run the query and processing is pushed to the underlying data source. But if the user wants to store the output in cache, then they can add CONTEXT('cache_preload' = 'true') to the query for storing the result into cache. 3 - With “Match exact queries” selected, the result is obtained from cache, if and only if the exact same query has been executed previously and the result is available in cache. If the latest query is different from any previous queries, the query gets pushed down to source. Even if the result could have been obtained by filtering results from a previous query, it still gets pushed down to the source. Hope these answers clarify your doubts.
Denodo Team
14-06-2022 10:25:33 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here