218 IBM Cognos Dynamic Cubes
Saving in-memory recommendations to the cube
To apply the set of in-memory aggregate recommendations in the advisor result to the
dynamic cube, select File Save In-Memory Recommendations.
The set of in-memory aggregate recommendations are saved in the Content Store and are
associated with the dynamic cube data source. Because in-memory aggregates are meant to
be a turn-key aggregate management solution, all the in-memory aggregates from a specific
advisor run result are stored together as a set. There is no option to select various individual
in-memory aggregates from the set.
When storing the in-memory aggregate definitions, DQA determines whether the cache size
limit of the runtime aggregate is sufficient to load and hold the aggregates. The runtime
aggregate cache size limit is the value for the Maximum amount of memory to use for
aggregate cache property in cube configuration in the QueryService. A warning message is
displayed if the cube configuration property value is less than the estimated size. Select
Accept to proceed with saving the aggregate definitions to the Content Store.
Figure 8-14 shows the warning message that is displayed when in-memory aggregates
are saved.
Figure 8-14 Warning message when saving in-memory aggregates
After the in-memory recommendations are saved to the Content Store and the aggregate
cache is enabled, the next time the cube is started, the in-memory aggregates will be loaded.
See 8.4, “In-memory aggregates” on page 221 for more information about the loading and
processing of the aggregate cache.
Opening other advisor results and saving other sets of in-memory aggregate definitions from
these other advisor results will overwrite any existing definitions that are associated with the
cube. Consider, for example, two advisor results in the Advisor Results view, such as one
corresponding to a run with workload for month-end, and the other corresponding to a run
with workload for quarter-end. Opening the result from the month-end advisor run and
selecting to save in-memory recommendations will apply all in-memory aggregate
recommendations that correspond to the month-end run to the cube in the Content Store.
Then, opening the results from the quarter-end advisor run and selecting to save in-memory
recommendations first will remove all month-end recommendations, and then will store the
quarter-end recommendations in their place. Because aggregate cache definitions are
retrieved and loaded at cube start, the quarter-end recommendations will be the set of
in-memory recommendations that are used when the cube is restarted.
Note: To have the newly saved in-memory aggregates loaded in the cube, the cube must
have the aggregate cache enabled and be started or restarted.