Configuring the Messaging Cache

With SQL implementation in Messaging Framework, index entries are stored in an SQL database and only the most recently used index entries are cached in RAM.

Required background

Before you start, you must understand caching.

Procedure

You can configure the cache size and other caching-related parameters using the msgcache.ini configuration file, located at Z:\private\1000484b\. The following table lists the cache configuration parameters:

Parameter Default value Unit Description

MsvMaximumCacheSize

1024

KB

The maximum size of cache.

MsvInitialCacheCreation

40

Percent

The percentage of MsvMaximumCacheSize allocated to the cache during server start-up.

MsvCacheIncrement

20

Percent

The percentage of MsvMaximumCacheSize allocated to cache in each subsequent allocation (after initial memory allocation).

MsvCacheThreshold

70

Percent

The percentage of the cache that must be occupied before the next allocation is initiated.

MsvSearchSortCachePercentage

20

Percent

The percentage of memory that should be allocated to search and sort cache.

msgcache.ini example

MsvMaximumCacheSize = 1000

MsvInitialCacheCreation = 40

MsvCacheIncrement = 20

MsvCacheThreshold = 70

MsvSearchSortCachePercentage = 20