SLOWLOG
Since 1.1.0Observability
Syntax
SLOWLOGThe slow log: the commands that took longer than slowlog-log-slower-than microseconds to run, up to slowlog-max-len entries (128 by default). slowlog-log-slower-than is -1 by default, which logs nothing: unlike Redis, whose default is 10,000, KiviDB's slow log is off until it is set. 0 logs every command. The time is how long the command ran, not the time spent waiting or reading it. See its subcommands.
Subcommands
- SLOWLOG GET: Returns the newest entries of the slow log: 10, count, or all of them with -1.
- SLOWLOG HELP: Lists the SLOWLOG subcommands and what each does.
- SLOWLOG LEN: Returns how many entries the slow log holds.
- SLOWLOG RESET: Empties the slow log.