SLOWLOG RESET
Syntax
SLOWLOG RESET
- Available since:
- Redis Open Source 2.2.12
- Time complexity:
- O(N) where N is the number of entries in the slowlog
- ACL categories:
-
@admin,@slow,@dangerous, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
This command resets the slow log, clearing all entries in it.
Once deleted the information is lost forever.
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Standard |
✅ Standard |
Not supported for scripts. |
Return information
Simple string reply:
OK.