Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
You can set up cache rules to improve the performance of queries.
To set up cache rules for a single semantic model, perform the following steps.
From the Toolbox, click Semantic Models.
Select a semantic model or create a new one.
Click the Refine tab.
Click the Auto Cache Strategy tab.
For Cache strategy on every semantic model build and Cache strategy on every cache build job, choose cache strategy when it's rebuilt from:
Purge and Populate Cache
Purge Cache
You can now set cache rules.
Note
The settings are applicable only for the cache population and not for cache purging.
Select the types of queries to cache from:
Metadata Queries: Select this when raw data querying is enabled, and the semantic model or its dimensions are not materialized. By default, metadata will be populated for all non-materialized columns. To populate metadata for specific columns, click the Choose columns link and select the columns.
Historical Queries: Select to generate and cache linked filter queries, and choose one of the options from Auto, Yes, or No.
By default, Auto is selected.
To set cache population rules for historical queries, do the following:
Select the field, criteria, and value:
For Query Type: Select MDX, SQL, or Select All, and specify whether they are in or not in the list. By default, the Worksheet comes under MDX.
For Query Status: Select the status from Success, Failure, or Canceled, and specify whether they are in or not in the list.
For Query Completion time: Specify whether it is in the last hour, today, or set the value, such as the number of days/months/weeks/hours/minutes.
For Query Elapsed time: Specify whether the value is greater than, less than, in between, or equal to the value you select in hours, minutes, or seconds.
For User: Specify whether the account you seek starts with, is, contains, or ends with the value you specify.
Use the parenthesis with And or Or to develop more complex criteria.
Click the Plus icon to add more rules or the Minus icon to remove a rule.
Click Save.
You can also specify a cache build schedule for specific semantic models.
To apply a cache rule to specific semantic models, perform the following steps.
Click a semantic model from the list and click the Process tab.
Click the Actions menu (...) menu and choose Add Other Jobs.
Select Cache Build and specify when it should run.
Click Schedule to schedule or start the build.
Related topics