慢日志重置
Syntax
SLOWLOG RESET
- Available since:
- 2.2.12
- Time complexity:
- O(N) where N is the number of entries in the slowlog
- ACL categories:
-
@admin
,@slow
,@dangerous
,
此命令重置慢日志,清除其中的所有条目。
一旦删除,信息将永远丢失。
RESP2/RESP3 回复
Simple string reply:OK
.
SLOWLOG RESET
@admin
,
@slow
,
@dangerous
,
此命令重置慢日志,清除其中的所有条目。
一旦删除,信息将永远丢失。
OK
.