持久化一:RDB方式
默认配置:
save 900 1save 300 10save 60 10000
持久化二:AOF方式
默认配置:appendonly no,appendfilename "appendonly.aof",appendfsync everysec
auto-aof-rewrite-percentage 100auto-aof-rewrite-min-size 64mb