Memcached stats sizes 命令

stats sizes 统计各尺寸区间的对象数量(用于调优)。

Beginner
Key Pointsstats sizes 输出尺寸分布直方图,帮助判断 value 是否过大或过于离散。

用法

Shell
stats sizes
Output
STAT 96 5
STAT 120 3
STAT 240 1
stats sizes can be slow on big instances (scans all items) — don't poll it. Use it for capacity planning: see value-size distribution to tune slabs or split large objects.

Friends & Partners