Information on data caches

Use sp_cacheconfig to create and configure named data caches. When you first install Adaptive Server, it has a single cache named default data cache. To see information about caches, enter:

sp_cacheconfig

The results of sp_cacheconfig look similar to:

Cache Name                Status    Type     Config Value  Run Value
------------------------- --------- -------- ------------ ------------
default data cache        Active    Default        0.00 Mb    59.44 Mb
                                             ------------ ------------
                                    Total          0.00 Mb    59.44 Mb
======================================================================
Cache: default data cache,   Status: Active,   Type: Default
     Config Size: 0.00 Mb,   Run Size: 59.44 Mb
     Config Replacement: strict LRU,   Run Replacement: strict LRU
     Config Partition:            1,   Run Partition:            1

IO Size  Wash Size Config Size  Run Size     APF Percent
-------- --------- ------------ ------------ -----------
    2 Kb   12174 Kb     0.00 Mb     59.44 Mb      10

Summary information for each cache is printed in a block at the top of the report, ending with a total size for all configured caches. For each cache, there is a block of information reporting the configuration for the memory pools in the cache.

The columns are:

The second block of output begins with three lines of information that describe the cache. The first two lines repeat information from the summary block at the top. The third line, “Config Replacement” and “Run Replacement” shows the cache policy, which is either “strict LRU” or “relaxed LRU.” Run Replacement describes the setting in effect (either “strict LRU” or “relaxed LRU”). If the policy was changed since the server was restarted, the Config Replacement setting is different from the Run Replacement setting.

sp_cacheconfig then provides a row of information for each pool in the cache:

A summary line prints the total size of the cache or caches displayed.