kevy4.0

SLOWLOG

Inspect or reset the slow-command log.

SLOWLOG GET [count] | LEN | RESET | HELP
Group
Server
Since
1.0.0
Arity
at least 2
Flags
readonly admin

Complexity

GET: O(S) fan-out plus O(L log L) to merge. LEN: O(S). RESET: O(S)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

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

See also

BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESHUTDOWN

← All commands