https://blog.csdn.net/tx542009/article/details/87856930
修改配置文件redis.conf(不推荐)
slowlog-log-slower-than 10000 (默认10000,即10毫秒)
slowlog-max-len 128 (默认128)
动态配置(推荐)
config set slowlog-max-len 500
config set slowlog-log-slower-than 5000
重置慢查询
slowlog reset