HAMEMORYCACHESIZE

Determines the amount of memory that is reserved to cache queried members from a Hybrid Analysis Relational Source.

Syntax

HAMEMORYCACHESIZE [appname [dbname]] n

Description

This setting sizes the memory buffer that holds relational data during the execution of spread sheet or report scripts that drill into Hybrid Analysis Relational Sources. When you specify the cache size, you control the memory used to cache relational members during execution. A larger cache size optimizes the usage of relational members during execution and increases the speed of metadata retrieval from the metaoutline. Thus, more memory allocated to the cache means fewer SQL queries to resolve member names, resulting in improved performance.

Notes

In order to have configuration parameters applied to the application level, the global value must be defined first, and the application level value must be defined second (see Example 2 below).

Examples

Example 1

HAMEMORYCACHESIZE 1M

Example 2

In the following example, all databases in the application "Test" have a cache value of 1500K, and all other applications have a cache value of 2M.

HAMEMORYCACHESIZE 2M
HAMEMORYCACHESIZE Test 1500K

In the following example, all applications and databases have a cache value of 2M because the application cache value is overriden.

HAMEMORYCACHESIZE Test 1500K
HAMEMORYCACHESIZE 2M

This ordering is needed only for global and unspecified (untitled) applications.