Redis
简介
源码安装
数据结构
事务
持久化
主从同步
哨兵模式 Sentinel
本文档使用 MrDoc 发布
-
+
首页
持久化
# RDB 修改配置文件设置快照 ```asp # Unless specified otherwise, by default Redis will save the DB: # * After 3600 seconds (an hour) if at least 1 change was performed # * After 300 seconds (5 minutes) if at least 100 changes were performed # * After 60 seconds if at least 10000 changes were performed # # You can set these explicitly by uncommenting the following line. ``` ```asp save 3600 1 ``` 收到存储快照 ```asp save ``` ```asp bgsave ``` # AOF 修改配置文件设置快照 ```asp appendonly yes ```
done
2024年5月30日 14:54
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码