摘要: Redis 主备复制 1 相关配置: 1) replicaof <masterip> <masterport> 2) masterauth <master-password> 设置时候 replica 在发送同步相关的命令时会被要求 authenticate 3) masteruser <usern 阅读全文
posted @ 2021-05-03 22:27 mr_yu 阅读(492) 评论(0) 推荐(0) 编辑
摘要: REDIS AOF(Append Only File): redis AOF(Append Only File) MODE 流程: 1 相关配置参数: 1) appendonly no: 是否启用AOF模式,默认不启用 2) appendfilename "appendonly.aof": 只追加文 阅读全文
posted @ 2021-05-03 10:59 mr_yu 阅读(237) 评论(0) 推荐(0) 编辑