View the slow command log
RedisMaintenanceCommand
SLOWLOG GET 10What it does
Returns the 10 most recent slow command entries (duration, time, arguments) from the slowlog.
When to use it
When identifying slow commands and investigating performance bottlenecks.
Caution
Read-only command; use SLOWLOG RESET to clear the entries.