analyze_slowlog
Analyze Redis SLOWLOG to identify slow commands, detect dangerous O(N) operations, and get safer alternatives for latency hotspots.
Instructions
Analyze Redis SLOWLOG to find slow commands. Detects dangerous O(N) commands (KEYS, SMEMBERS, HGETALL, LRANGE, SORT, FLUSHDB, FLUSHALL), identifies latency hotspots, and recommends safer alternatives (SCAN, SSCAN, HSCAN, bounded ranges, sorted sets).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of slowlog entries to retrieve (default: 128) |