延迟重置
语法
LATENCY RESET [event [event ...]]
- 从以下位置开始可用:
- 2.8.13
- 时间复杂度:
- O(1)
- ACL 类别:
-
@admin,@slow,@dangerous,
这LATENCY RESET命令重置所有或仅部分事件的延迟峰值时间序列。
当不带参数调用命令时,它会重置所有 事件、丢弃当前记录的延迟峰值事件并重置 最大事件时间寄存器。
可以通过提供event名字
作为参数。
的有效值event是:
active-defrag-cycleaof-fsync-alwaysaof-stataof-rewrite-diff-writeaof-renameaof-writeaof-write-active-childaof-write-aloneaof-write-pending-fsynccommandexpire-cycleeviction-cycleeviction-delfast-commandforkrdb-unlink-temp-file
有关更多信息,请参阅 Latency Monitoring Framework 页面。