kevy

PREFIX.STATS

Report key-count and byte statistics for a key prefix.

语法PREFIX.STATS prefix
分组migration
参数个数2
起始版本3.0.0
标志readonly, extension
复杂度O(keys on the shard) — a full keyspace walk on every shard; the prefix cannot be precomputed
Redis 兼容性kevy-only: nearest is INFO keyspace's db0:keys=N,expires=M — the same two counters, but whole-DB and O(1) off a counter, where ours is per-prefix and therefore O(keyspace)

← 全部命令