Managing IBM Cognos Business Intelligence cube cache clearing
IBM® Cognos® Business Intelligence report results are automatically cached, which reduces response time for subsequent report queries from the same user or subsequent users. To obtain refreshed report results, you must clear the Cognos cube cache based on an interval setting.
Configure a longer cache-clearing interval if you want to further improve report response time by caching more queries. The first report query executed after the cache is cleared will cause the queried measure values to be recalculated.
The two methods you can use to clear the Cognos cube cache based on an interval are described in the following sections.
Using the Cognos automatic cache-clearing configuration at a specified interval:
When Cognos is installed with Business Monitor, the cache clearing interval is set to -1 by default.
A value of '-1' indicates that Cognos will never clear the cache automatically.
Using the IBM Business Monitor scheduled service for IBM Cognos BI cube cache clearing:
Business Monitor manages the cube cache-clearing frequency for a monitor model. You can change the default interval of 5 minutes.
When the Business Monitor scheduled service approach is used, the Cognos global value of clearCacheEveryXminutes should be set to -1 so that Cognos does not also try to clear the cache.
The benefits of having Business Monitor manage the cube cache-clearing frequency are that the cache-clearing cycle can be synchronized with other Business Monitor scheduled services, such as data movement service, and that the interval can be specified per monitor model.