AOF的永久化配置和設置
appendonly no #是否僅要日誌
appendfsync no # 系統緩衝,統一寫,速度快
appendfsync always # 系統不緩衝,直接寫,慢,丟失數據少
appendfsync everysec #折衷,每秒寫1次
no-appendfsync-on-rewrite no #重寫aof時同步最新數據
auto-AOF-rewrite-percentage 100 當前aof文件是上次重寫是大N%時重寫
auto-AOF-rewrite-min-size 64mb aof重寫至少要達到的大小