DBAtlas · Database operations atlas

Set the slow command threshold

RedisMaintenance

Command

CONFIG SET slowlog-log-slower-than 10000

What it does

Sets the duration threshold, in microseconds, for a command to be logged in the slowlog (10000 = 10 ms).

When to use it

When you want to adjust slowlog sensitivity.

Caution

Setting it to 0 logs every command and adds overhead; -1 disables the slowlog.

Open in DBAtlas →

Related