Adjust the size of the named rapTAQcache data cache to use as much memory as is available on the system running Adaptive Server Enterprise.
Adjusting the named rapTAQcache data cache size increases RAPCache performance as an in-memory database. The amount of shared memory available to Adaptive Server determines the values of these configuration variables:
The value for max memory should be the maximum amount of shared memory available on your system. The amount of shared memory available is generally controlled by the operating system configuration, but is likely to require modification before you can properly configure a usable RAPCache.
The amount of memory to reserve for shared memory is dependent on total memory available on your system. The maximum amount of memory should be allocated for shared memory, but enough memory should be retained for use by the various processes that will be running on the system. For example, if a system is dedicated to the RAPCache and RAPCache subscriber, and has a total of 32GB of memory (RAM), then you should configure approximately 28-30 GB of operating system shared memory.
sp_configure 'max memory', 8000000 go sp_cacheconfig 'default data cache', '15G', 'cache_partition=8' go