kevy

SLOWLOG

Inspect or reset the slow-command log.

语法SLOWLOG GET [count] | LEN | RESET | HELP
分组server
参数个数-2
起始版本1.0.0
标志readonly, admin
复杂度GET: O(S) fan-out plus O(L log L) to merge. LEN: O(S). RESET: O(S)
Redis 兼容性differs: the log is per-shard and GET merges across shards by timestamp, so ids are not globally monotonic; every entry's client-addr and client-name are empty strings

← 全部命令