PREFIX.STATSReport 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) |