NCache 4.6 - Online Documentation

Creating Local Cache

Local cache can be created in two ways:
Using NCache Manager
  • To create a new Local Cache through NCache Manager, select File->New->Cache option.
  • In New Cache Wizard, specify the server IP address and click Next.
  • Specify the name of the cache in the text box, select the Isolation level, Data format and click Next.
  • Change the cache size if required and click Next.
  • In the Advanced options dialog box, you can configure the following:
  •     You can change the eviction policy. The eviction policy will be configured and can be turned on.
  •     You can also change the eviction percentage; items will be evicted from the cache using this percentage value if eviction is enabled.
  •     You can change the clean interval value. Default is 15 seconds.
  •     This cache can be started automatically upon the completion of this process if you have checked the Start this cache on Finish checkbox on this dialog.
  •     You can make the cache to start automatically after service restart by checking the checkbox Auto start this cache on service startup.
  • Click Finish. Created cache will appear in Cache Explorer under Local Caches node hierarchy.
Using Command Line Tool
  • Open command prompt.
  • Go to the NCache tools directory: cd %NCHOME%/bin/tools
  • Use createcache.exe, provide the required information: 
createcache.exe demoLocalCache /s /S 1024
  • Press ENTER, it will create demoLocalCache of local topology of size 1024MB on node
See Also