本文将介绍Redis持久化的两种方式:快照持久化和AOF持久化,并对两种方法进行分析和对比,方便在实际中做出选择。
持久化
什么是持久化
Redis所有数据保存在内存中,对数据的更新将异步地保存到磁盘上,使得数据在Redis重启之后仍然存在。这么做这有什么实际意义呢?将数据存储到硬盘是为了以后可以重用数据,将数据进行备份,可以在系统故障的时候从备份进行恢复。还有一点,存储在Redis里面的数据可能是经过复杂运算而得出的结果,把这些数据进行存储,方便后续的使用,以达到“空间换时间”的效果。
持久化的实现方式
Redis提供了两种不同的持久化方法将数据保存到硬盘里面。
快照持久化:将Redis某一时刻存在的所有数据都写入硬盘。
AOF持久化:AOF的全称叫append-only file,中文意思是只追加文件。当使用AOF持久化方式的时候,Redis执行写命令的时候,将被执行的写命令复制到硬盘里面,说的通俗一点就是写日志。
快照持久化
什么是快照持久化
Redis通过创建快照来获得存储在内存里面的数据在某个时间节点上的副本。
触发机制-主要三种方式
save(同步)
bgsave(异步)
自动
save命令:客户端向Redis发送save命令来创建一个快照文件。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmkAAABoCAYAAACqsmdeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABjCSURBVHhe7V0xryVFep3fBMFaq93VWhppvSMYtGhZkEaD0eqJwBKhE5w4IrIDLCE7wYkl48QScjQiGxFChtBmECGCCZBICJ/fecuZqqn5+t6vqr5b1V1zjnS49/Xt231Pfed8/d1+D7hzfYMff/wRD0347rvvfn5Wj57zznqv9PohvX5Irx/S64f0+iG9fkivH716NaRVQnr9kF4/pNcP6fVDev2QXj+k149evRrSKiG9fkivH9Lrh/T6Ib1+SK8f0utHr14NaZWQXj+k1w/p9UN6/ZBeP6TXD+n1o1evhrRKSK8f0uuH9PohvX5Irx/S64f0+tGrV0NaJaTXD+n1Q3r9kF4/pNcP6fVDev3o1ashrRLS64f0+iG9fkivH9Lrh/T6Ib1+9OrVkFYJ6fVDev2QXj+k1w/p9UN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XD+n1Q3r9kF4/pNcP6fVDev3o1ashrRLS64f0+iG9fkivH9Lrh/T6Ib1+9NZXQ1olpNcP6fVDev2QXj+k1w/p9UN6/ejVqyGtEtLrh/T6Ib1+SK8f0uuH9PohvX706tWQVgnp9UN6/ZBeP6TXD+n1Q3r9kF4/evVqSKuE9PohvX5Irx/S64f0+iG9fkivH716NaRVQnr9kF4/pNcP6fVDev2QXj+k149evRrSKiG9fkivH9Lrh/T6Ib1+SK8f0utHr14NaZWQXj+k1w/p9UN6/ZBeP6TXD+n1o1fvHRyghziItX1VSu/alN61Kb1rU3rX5ouoV3fSKiG9fkivH9Lrh/T6Ib1+SK8f0utHr14NaZWQXj+k1w/p9UN6/ZBeP6TXD+n1o1evhrRKSK8f0uuH9PohvX5Irx/S64f0+tGn97vr/wdyxUAswi3BkQAAAABJRU5ErkJggg==" alt="" />
执行save命令的时候,如果存在老的快照文件,新的将会替换老的。
bgsave命令:客户端向Redis发送bgsave命令,Redis调用fork创建一个子进程,然后子进程负责将快照写入硬盘,而父进程则继续处理命令请求。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAl0AAAEZCAYAAACto5DMAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADaOSURBVHhe7Z3Bi2TXfe/nX3rWwsHPNg4RyB5GY6TI0pBhFCN3BH6gRRbe6G2SRbRxEtAD5b2NHoEHsjcBJWQxaJWJNoHRTjiGLDSLEHsxC4EJaJd+862eX9/TV7/q+p57b91zT/XnA1+6u6rOrfrUOffMd261RrfODf7jP/7j+Xf1/O53v3v+XT2txuLrg68Pvj74+uDrg68Pvj41YyldCfj64OuDrw++Pvj64OuDr0/NWEpXAr4++Prg64OvD74++Prg61MzltKVgK8Pvj74+uDrg68Pvj74+tSMvaUHH4rehOz2Uw2+px18Tzv4nnbwPe2cui9XuhLw9cHXB18ffH3w9cHXB1+fmrGUrgR8ffD1wdcHXx98ffD1wdenZiylKwF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Ql4OuDr09rXzbubaXcuFnPPrW+P/rRj85fffXV3RWuXn05d7eV8twVNfNL6UrA1wdfn9a+bNzbSrlxs559bqIv5+62Up67omZ+KV0J+Prg69Pal417Wyk3btazz0305dzdVspzV9TML6UrAV8ffH1a+7Jxbyvlxs169rmJvpy720p57oqa+aV0JeDrg69Pa9/YKMi2IljPPjfRN1s3pH2CmvmldCXg64OvT2vfs7OzdOMg7aI5Eaxnn5voy7m7vcS5K2rml9KVgK8Pvj74+uDrg68P8+uDr0/NWEpXAr4++Prg64OvD74++Prg61MzltKVgK8Pvj74+uDrg68Pvj74+tSMpXQl4OuDrw++Pvj64OuDrw++PjVjb+nBh6I3Ibv9VIPvaQff0w6+px18Tzun7suVrgR8ffD1wdcHXx98ffD1wdenZiylKwFfH3x98PXB1wdfH3x98PWpGUvpSsDXB18ffH3w9cHXB18ffH1qxlK6EvD1wdcHXx98ffD1wdcHX5+asZSuBHx98PXB1wdfH3x98PXB16dmLKUrAV8ffH3w9cHXB18ffH3w9fHHnp//f/MpZ6r4d/v6AAAAAElFTkSuQmCC" alt="" />
save命令和bgsave命令对比:
命令
|
save
|
bgsave
|
IO类型
|
同步
|
异步
|
是否阻塞
|
是
|
是
|
复杂度
|
O(n)
|
O(n)
|
优点
|
不会消耗额外内存
|
不阻塞客户端命令
|
缺点
|
阻塞客户端命令
|
需要fork,消耗内存
|
自动生成:通过配置,满足任何一个条件就会创建快照文件。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcEAAAEwCAYAAADPdcpUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAC96SURBVHhe7Z3P6x3XteX1L3U86EdIP7rBED/h6BGTdMIzVoe2bALGgww8USavB9HEnQdqSHrk9qBBePKC0iOjUWxBCEiDgHE8CEiBEDTQQBACmuW21rWXamv71D17V9X3VNW56wOL771V59eqU+cs1fd77Xvpr3/962Et/eUvfyke71Xy27fkt2/Jb5+6dH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AaX2vFAH5fz9zbp2/MD6tNfcw+tpxzMFjlOhEEd+47Suu4kQtJsIFjiPX+T3AQLbVqksNw2e95uPpRRikG3Tl/EbVu18ZjyA7fl2LHOuwdg8oj/2yaBgXdsey4/BsmPl/Nit2H/NH7A+fPCAsfPn+n2EvBYKhTjyG6d13VV/HSoulikb8FLY8CmFsD2PjZ0bdFRjYbAWDKmSV4Dzp+bB/mOBYlu8NjXPDMJSP0veCxyfQiGO/MZpXVch2DmnNkZxHjAATz0lZlAI5pHfOK3rKgSFECkUgnnkN07rugpBIUQKhWAe+Y3Tuq5CUAiRQiGYR37jtK6rEBRCpFAI5pHfOK3rKgSFECkUgnnkN07rugpBIUQKhWAe+Y3Tuq5CUAiRQiGYR37jtK6rEBRCpFAI5pHfOK3rXkKlJaQQFOI8sCFY2gt6lfz2KT0JCiFS2BCcyhJ7zhTm1JXfOHvyqxAUQqRQCOaR3zit6yoEhRApFIJ55DdO67oKQSFECoVgHvmN07quQlAIkUIhmEd+47SuqxAUQqRQCOaR3zit6yoEhRApFIJ55DdO67oKQSFECoVgHvmN07ru4iEoSdJ5SKEQR37jtK67WAi+9dZbxYUiSVJ/+vGPf6xQSCC/cVrXXSwEp6CbKo78xpHfOPIbR37j7MmvQjCJ/MaR3zjyG0d+48hvHYVgEvmNI79x5DeO/MaR3zoKwSTyG0d+48hvHPmNI791FvsqpSnCRS4d71Xy27fkt2/Jb5/Sk2AS+Y0jv3HkN478xpHfOgrBJPIbR37jyG8c+Y0jv3UUgknkN478xpHfOPIbR35rHA7/H3lCducqZaEpAAAAAElFTkSuQmCC" alt="" />
快照持久化选项:
多久执行一次自动快照操作,60s之内有1000次操作写入时执行
save
创建快照失败后是否仍然继续执行写命令
stop-writes-on-bgsave-error no
是否对快照文件进行压缩
rdbcompression yes
命名硬盘上的快照文件
dbfilename dump.rdb
最佳配置:
dbfilename dump-${port}.rdb
dir /bigdiskpath
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
AOF持久化
快照持久化现存问题
耗时、耗性能:通过bgsave命令进行持久化的的时候,需要fork一个子进程,如果数据量很大的话,需要的内存也会相应的变大,内存的占用会导致Redis性能降低。
不可控、丢失数据:举个例子,上一次创建快照是11:00开始创建并创建成功。如果Redis在12:00开始创建新的快照,如果系统在未完成创建快照之前崩溃,11:00-12:00写入的数据将会丢失;如果系统在快照创建完成之后崩溃,那么12:00之后,创建快照的过程中的数据将会丢失。
什么是AOF
AOF持久化将被执行的写命令写到AOF文件的末尾,以达到记录数据的目的。Redis只要从头到尾重新执行一次AOF所有的命令就可以恢复数据。
AOF三种策略
always:每条Redis写命令都同步写入硬盘。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAl8AAABoCAYAAADPX5UhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB3/SURBVHhe7V3PqybVdu2/SQcJj+TxAg0xTesjEp8NonmERhBx4MCJmcSBTgwBA5qRIARUeAQ0o8ZZKwShnTXiROyBqAMHghOHN70+XffsPr2rvr1P1T1V57trweL7qur82mfvvWpX3du3r5wl8N133/32LY+ff/75t295bNVX9sYhe+OQvXHI3jhkbxyyNw7ZG0emr4qvGcjeOGRvHLI3Dtkbh+yNQ/bGIXvjyPS9gsZRYjO886dK2XvalL2nTdl72pS9p81Tt1dvvmYge+OQvXHI3jhkbxyyNw7ZG4fsjSPTV8XXDGRvHLI3Dtkbh+yNQ/bGIXvjkL1xZPqq+JqB7I1D9sYhe+OQvXHI3jhkbxyyN45MXxVfM5C9ccjeOGRvHLI3Dtkbh+yNQ/bGkemr4msGsjcO2RuH7I1D9sYhe+OQvXHI3jgyfVV8zUD2xiF745C9ccjeOGRvHLI3DtkbR6aviq8ZyN44ZG8csjcO2RuH7I1D9sYhe+PI9FXxNYPLZu+tW7fOHnnkkTC/+OKL33o+OO9bb711uI7PCH788cezV1999dAHn7/88stvVwp++umns+eee+6B+Umcx3UAa7p27drZN998czgGPvroo0M7u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FLfEr7cr/WFFnALPZaSKjHJP0BbOHfGswczyXgXs/4kKX8HZP0B5DyrwqtSWmdDLQWLqKX+JT25X6B165dqyqygFnstZBQj0n6A9jCvzWYOZ5LwL0GZ3vIUv6OSfoDSPlXhdaktE4GWgsX0Ut8SvtyvyCyd+7cuXe2HLPYayGhHpP0B7CFf2swczyXgHuN/63ObA9Zyt8xSX8AKf+q0JqU1slAa+EieolPad/HHnvs9NFHH92J7GW9MSmHx6LN4S38W4OZ47kEzH/8vwtr0dte5e9YLMlfFVqT0joZaC1cRC/xkb35kFCPSZvDiud8KH/9eBLbsiR/VWhNSutkQMKVDwm1H1NiW9ocVjznQ/nrx5PYliX5ewVOzKGcPBbpD/oHjrb+asU18/bqu4Yz26scHos2hxXPbTizvcrfsViSv8VvtMSxSMDRtYB/a7Fm3l59L6u9XvyI/QkonvOh/BVHIpDyb3ahdXJy4k4i9iN8Qki48nFZ7VUOj0fmsOI5H8pfcRTm5m92oVWLmQO7BrI3H7I3H7I3H7I3H7I3H7I3H7L3PFRoOZC9+ZC9+ZC9+ZC9+ZC9+ZC9+ZC9+Uj1VaHlQPbmQ/bmQ/bmQ/bmQ/bmQ/bmQ/bmI9VXhZYD2ZsP2ZsP2ZsP2ZsP2ZsP2ZsP2ZuPVF8VWg5kbz5kbz5kbz5kbz5kbz5kbz5kbz5SfVVoOZC9+ZC9+ZC9+ZC9+ZC9+ZC9+ZC9+Uj1VaHlQPbmQ/7Nh+zNh+zNh+zNh+zNh+zNx+G+p6f/D0tWso4vxBQmAAAAAElFTkSuQmCC" alt="" />
三种策略对比:生产环境中需要根据实际的需求进行选择。
命令 |
always |
everysec |
no |
优点 |
不丢失数据 |
每秒一次fsync |
不用管 |
缺点 |
IO开销较大,一般的SATA盘只有几百TPS |
丢1s数据 |
不可控 |
AOF重写
随着Redis的运行,被执行的写命令不断同步到AOF文件中,AOF文件的体积越来越大,极端情况将会占满所有的硬盘空间。如果AOF文件体积过大,还原的过程也会相当耗时。为了解决AOF文件不断膨胀的问题,需要移除AOF文件中的冗余命令来重写AOF。
原生AOF |
AOF重写 |
set hello world
set hello java
set hello redis
incr counter
inct counter
rpush mylist a
rpush mylist b
rpush mylist c
过期数据
|
set hello redis
set counter 2
rpush mylist a b c
|
AOF重写的两种实现方式:
bgrewriteaof命令和bgsave命令的工作原理相似:Redis创建一个子进程,然后由子进程负责对AOF文件进行重写。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAElCAYAAAAbac2LAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADUBSURBVHhe7Z3PjxzXea75L9nMhQxFFpyEgKXJSLYE/YIFMpI90EbwKsiGd5OVvPB1AAWQsxK8SKDrTQAhK0Ir0wYuDJBZEbZ34iKwteBCgGFAO/Wdr3m+qcPDr7rerqk+dfrM8wAvOFPdXVVPn1OnX9aMqGubEf74xz+mr/bnz3/+c/pqf9Z6Lb46+Orgq4OvDr46+OrgG0NRSuCrg68Ovjr46uCrg68OvjEUpQS+Ovjq4KuDrw6+Ovjq4BtDUUrgq4OvDr46+Orgq4OvDr4xFKUEvjr46uCrg68Ovjr46uAbQ1FK4KuDrw6+Ovjq4KuDrw6+MRSlBL46+Orgq4OvDr46+OrgG0NRSuCr05Pv2dnZ5u233948evQobXmannwV8NXBVwdfHXx1apwzRSmBr05Pvt/85je3efnll0fLUk++Cvjq4KuDrw6+OjXOmaKUwFenJ18vSrvKUk++Cvjq4KuDrw6+OjXOmaKUwFenJ9+hJH1rtCz15KuArw6+Ovjq4KtT45yv2ROj2IlH23sNvn1nzNeL0qNH71yUpdPT083Dhw/D5x9LGN++g2/fwbetcEcpga9OT75elDab954oS/mdpZ58FfDVwVcHXx18dWqcM0Upga9OT755URorSz35KuCrg68Ovjr46tQ4Z4pSAl+dnnzLohSVJfsx3FwYXx18dfDVwVcH3xiKUgJfnZ58o6JUliX7naWxfzpgCsZXB18dfHXw1cE3hqKUwFenJ9+xolS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46uCrs7Yvi3Nb8fEwmM8aw3u2uySN/RMArfi6RzQvSP0M82oailICXx18ddb2ZXFuK/nizHzWGN6z/UuS0Yqve0TzgtTPMK+moSgl8NXBV2dtXxbntpIvzsxnjeE9278kGa34ukc0L0j9DPNqGopSAl8dfHXW9mVxbiv54sx81hjes/1LktGKr3tE84LUzzCvpqEoJfDVwVdnbV8W57aSL87MZ43hPdu/JBmt+LpHNC9I/QzzahqKUgJfHXx11vZlcW4r+eLMfNbw92xOSTJa8XWPaF6Q+vHxUKAoJfDVwVdnbV8W57aSL87MZw1/z+aUJKMVX/eI5gWpHx8PBYpSAl8dfHXW9mVxbiv54sx81vD3zLJvSTJa8XWHaF6Q+vHxUKAoJfDVwVdnbV8W57aSL87MZw1/z+aUJKMVX/eI5gWpHx8PBYpSAl8dfHXW9mVxbiv54sx81nj99ddnlySjFV+uxbaSX4tTUJQS+Orgq7O2L4tzW8kXZ+azTg++XIttJb8Wp6AoJfDVwVdnbV8W57aSL87MZ50efLkW20p+LU5BUUrgq4Ovztq+LM5tJV+cmc86PfhyLbaV/FqcgqKUwFcHX521fX0xIG3FYD7r9OAbzQOyfhSu2QRcOjZBou1K1nrtZYKvHnz1LOF769atcHEg68XGxMaG+VwnrfhyLbaXd99994kxGgt3lBL46uCrg68Ovjr46uCrg28MRSmBrw6+Ovjq4KuDrw6+OvjGUJQS+Orgq4OvDr46+Orgq4NvDEUpga8Ovjr46uCrg68Ovjr4xlCUEvjq4KuDrw6+Ovjq4KuDbwxFKYGvDr46+Orgq4OvDr46+MZQlBL46uCrg68Ovjr46uCrg28MRSmBrw6+Ovjq4KuDrw6+OvjGUJQS+Orgq4OvDr46+Orgq4NvDEUpga8Ovjr46uCrg68Ovjr4xlCUEvjq4KuDrw6+Ovjq4KuDb8Rm8/8B9gfxtxltmaAAAAAASUVORK5CYII=" alt="" />
配置参数说明:
名称 |
含义 |
auto-aof-rewrite-min-size |
AOF文件重写需要的尺寸 |
auto-aof-rewrite-percentage |
AOF文件增长率 |
具体配置:
appendonly yes
appendfilename "appendonly-${port}.aof"
appendfsync everysc
dir /bigdiskpath
no-appendfsync-on-rwrite yes
auto-aof-rewrit-percentage
auto-aof-rewrite-min-size 64mb
快照持久化和AOF持久化的对比和选择
对比
命令 |
快照持久化 |
AOF持久化 |
启动优先级 |
低 |
高 |
体积 |
小 |
大 |
恢复速度 |
快 |
慢 |
数据安全性 |
丢数据 |
根据策略决定 |
轻重 |
重 |
轻 |
选择
在实际生产环境中,根据数据量、应用对数据的安全要求、预算限制等不同情况,会有各种各样的持久化策略;如完全不使用任何持久化、使用快照持久化或AOF持久化的一种,或同时开启快照持久化和AOF持久化等。此外,持久化的选择必须与Redis的主从策略一起考虑,因为主从复制与持久化同样具有数据备份的功能,而且主机master和从机slave可以独立的选择持久化方案。
(1)如果Redis中的数据完全丢弃也没有关系(如Redis完全用作DB层数据的cache),那么无论是单机,还是主从架构,都可以不进行任何持久化。
(2)在单机环境下(对于个人开发者,这种情况可能比较常见),如果可以接受十几分钟或更多的数据丢失,选择快照持久化对Redis的性能更加有利;如果只能接受秒级别的数据丢失,应该选择AOF。
(3)但在多数情况下,我们都会配置主从环境,slave的存在既可以实现数据的热备,也可以进行读写分离分担Redis读请求,以及在master宕掉后继续提供服务。在这种情况下,一种可行的做法是:master:完全关闭持久化,这样可以让master的性能达到最好slave:关闭快照持久化,开启AOF(如果对数据安全要求不高,开启快照持久化关闭AOF也可以),并定时对持久化文件进行备份(如备份到其他文件夹,并标记好备份的时间);然后关闭AOF的自动重写,然后添加定时任务,在每天Redis闲时(如凌晨12点)调用bgrewriteaof。
参考
[1] Josiah L.Carlson. Redis实战[M]. 陈健宏译. 北京:人民邮电出版社,2015.