如何清除Redis中的SLOWLOG?

时间:2019-02-14 01:06:05

标签: redis

如何清除Redis SLOWLOG

# Server
redis_version:3.0.6
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:f62ea9ec3712ae8d
redis_mode:standalone
os:Linux 2.6.32-696.18.7.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:1489
run_id:05da042dddac2ef593eb8f2954ff7a93185797f7
tcp_port:6379
uptime_in_seconds:7939847
uptime_in_days:91
hz:10
lru_clock:6602452
config_file:/etc/redis.conf

1 个答案:

答案 0 :(得分:0)

看起来SLOWLOG RESET是我想要的。

https://redis.io/commands/slowlog#resetting-the-slow-log