resize
change a cache's size or eviction policy
Change a cache's size, to or from its high-availability twin, or its eviction policy. A smaller size is allowed: keys beyond its memory are evicted, or writes are refused with noeviction.
Usage
csph cache resize <name|id> [flags]
Options
Command Specific
Formatting
For more information about formatting options, see Formatting.
Inherited
Examples
csph cache resize sessions --instance-type "Cache 3 GB"
csph cache resize sessions --eviction noeviction
See also
- csph cache — manage SphereCache caches
- csph cache list — list caches
- csph cache get — show a cache
- csph cache create — create a cache
- csph cache delete — delete a cache
- csph cache instance-types — list cache sizes and prices
- csph cache connection-string — print a cache's connection URI
- csph cache credentials — manage cache credentials