码迷,mamicode.com
首页 > 其他好文 > 详细

redis动态修改参数

时间:2017-02-12 22:22:29      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:append   end   修改   redis   bsp   get   配置   动态   app   

 

 

通过 config get 命令可以查看参数。

通过config set 可以修改某些参数

 

动态关闭redis的aof功能:(不要忘了也修改配置文件中的aof选项使其保持一致)

127.0.0.1:6378> CONFIG set appendonly no
OK
127.0.0.1:6378> CONFIG GET appendonly
1) "appendonly"
2) "no"

 

redis动态修改参数

标签:append   end   修改   redis   bsp   get   配置   动态   app   

原文地址:http://www.cnblogs.com/fanxuanhui/p/6391857.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!