Show slow log
Show the last 20 slow commands with execution time
redis-cli -h redis SLOWLOG GET 20
- tool
- redis32 commands
- tags
- redisdebugmonitoring
More redis commands
-
redis-cli -h redis MEMORY USAGE <key>Show how many bytes one key uses
-
redis-cli -h redis FLUSHDB ASYNCDelete all keys in the current DB in the background, there is no undo
-
redis-cli -h redis BGSAVEStart an RDB snapshot save in the background
-
redis-cli -h redis INFO replicationShow the master or replica role, replication offset and connected replicas
-
redis-cli -h redis --scan --pattern 'session:*' | head -20Find keys by pattern without blocking Redis (use it instead of KEYS in production)