redis 批量删除key,与出现的问题解决(MISCONF Redis is configured to save RDB snapshots)
2013-08-30 18:14
816 查看
删除key
./redis-cli -a password -n 0 keys "/test/*" | xargs ./redis-cli -a password -n 0 del
-a auth + password 表示用户验证
del 表示删除
之后会出现如下错误
(error) MISCONF Redis is configured to save RDB snapshots, but
is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
使用如下命令解决:
config set stop-writes-on-bgsave-error no
./redis-cli -a password -n 0 keys "/test/*" | xargs ./redis-cli -a password -n 0 del
-a auth + password 表示用户验证
del 表示删除
之后会出现如下错误
(error) MISCONF Redis is configured to save RDB snapshots, but
is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
使用如下命令解决:
config set stop-writes-on-bgsave-error no
相关文章推荐
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题的解决
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题的解决
- [Bug]redis问题解决(MISCONF Redis is configured to save RDB snapshots)
- redis 问题解决(MISCONF Redis is configured to save RDB snapshots)
- redis 问题解决(MISCONF Redis is configured to save RDB snapshots)
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题的解决
- redis 问题解决(MISCONF Redis is configured to save RDB snapshots)
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题的解决(转)
- 解决Redis报错:MISCONF Redis is configured to save RDB snapshots
- 笔记:解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...
- 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots...解决
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk"问题
- redis出现异常MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
- 读取redis中的数据时出现:MISCONF Redis is configured to save RDB snapshots
- 解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persi
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis 不能持久化问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d