- redis报错问题
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.
redis被配置成保存数据库快照模式,但它现在不能持久化到磁盘,用来修改集合数据的命令不能用。请查看Redis日志的详细错误信息。
1.Redis说明
- 1.redis数据是如何持久化存储的?
Redis中是把数据保存到内存中的,但是它也会定期的把数据写会到硬盘中。
Redis保存数据有两种方式:
1.快照模式(Snapshot)RDB
它支持两种快照模式:
a)定时快照,既按一定时间将内存中的数据保存到磁盘上。