blob: 6f0d97758afdbc7ac0be4e9434a444af2626bb86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
This command returns the current number of entries in the slow log.
A new entry is added to the slow log whenever a command exceeds the execution time threshold defined by the `slowlog-log-slower-than` configuration directive.
The maximum number of entries in the slow log is governed by the `slowlog-max-len` configuration directive.
Once the slog log reaches its maximal size, the oldest entry is removed whenever a new entry is created.
The slow log can be cleared with the `SLOWLOG RESET` command.
@reply
@integer-reply
The number of entries in the slow log.
|