This topic describes how to create a named cache within the default data cache configured for Adaptive Server.
Only a system administrator can create, modify, and delete a cache.
Creating a named cache
Select the Caches folder for Adaptive Server.
Select File | New | Cache.
The Cache Creation wizard opens.
The Cache Creation wizard asks for the following information:
Input |
Description |
|---|---|
Name |
Name for the new cache |
Size |
Size for the new cache. In pages, MB, KB, or GB. |
Storage option |
Store data and log pages or only log pages. |
The minimum cache size is .5MB.
Because creating a cache involves some overhead, the actual amount of available memory will be slightly less than the amount you specify for size.
Adaptive Server creates the cache with a status of “Activation Pending.” In this state, the cache is defined in Adaptive Server, but cannot be used for holding data and cannot be bound to a database, index, or table until you stop and restart Adaptive Server.
After you restart Adaptive Server, the cache status becomes “Active,” and the cache is ready for use.
Select the Caches folder. In the right pane double-click the Add Cache icon.