You can specify that you do not want the housekeeper to perform a wash on a particular cache with the HK ignore cache option of the cache status parameter in the configuration file. Specifying which caches to not include in the wash allows you to avoid contention between the housekeeper and cache manager spinlock. You manually set HK ignore cache in the configuration file under each cache’s heading; you cannot set HK ignore cache with sp_cacheconfig.
For example, the following show the settings for the named cache newcache:
Named Cache:newcache cache size = 5M cache status = mixed cache cache status = HK ignore cache cache replacement policy = DEFAULT local cache partition number = DEFAULT
You must set HK ignore cache along with either of default data cache, mixed cache, or log parameters. You cannot set the parameter cache status to only HK ignore cache. For example, the following is not allowed:
Named Cache:newcache cache size = 5M cache status = HK ignore cache cache replacement policy = DEFAULT local cache partition number = DEFAULT