redis开启aof持久化

在redis配置文件中修改appendonly 为 yes

 重写aof文件命令

 bgrewriteaof

posted @ 2021-01-19 18:17  至疾  阅读(84)  评论(0编辑  收藏  举报