当前位置:网站首页>redis RDB AOF
redis RDB AOF
2022-07-04 21:19:00 【Daily enlightenment】
RDB The description is a snapshot 、 copy
AOF It describes the log
redis How is it done rdb The way of , The default time point data
The way of the first command :save Command triggers foreground blocking ,bgsave The command triggers the back-end asynchronous non blocking mode
The second configuration file gives bgsave The rules of , use save This logo
RDB disadvantages : Zippers are not supported , Only one... Is supported dump.rdb, Relatively more data is lost , It is easy to lose window data between time points
RDB advantage : similar java Serialization in , Faster recovery
AOF advantage : Less data
AOF disadvantages : Infinitely larger , Slow recovery
redis in ,RDB and AOF It can be turned on at the same time , If used AOF, Only use AOF recovery ,4.0 after ,AOF Contained in the RDB Total quantity , Add record new write operation
AOF How to keep the advantages , Reduce disadvantages ?
hdfs,fsimage+edits.log Let the log record only the incremental consolidation process
4.0 Before , rewrite ( Delete offset command , Merge repeated commands ), Finally, it is a pure instruction log file
4.0 after , rewrite , Put the old data RDB To AOF In file , And incrementally in the form of instructions APPEND To AOF,AOF It's a mixture , Take advantage of RDB Fast and full amount of logs
边栏推荐
猜你喜欢

c语言函数形参自增自减情况分析

torch.tensor和torch.Tensor的区别

【1200. 最小絕對差】

Jmeter 之压测入门
![[server data recovery] a case of RAID5 data recovery stored in a brand of server](/img/a2/e03dcb30276d115969fbd00f1830dc.png)
[server data recovery] a case of RAID5 data recovery stored in a brand of server

杰理之AD 系列 MIDI 功能说明【篇】

Routing configuration and connectivity test of Huawei simulator ENSP

Golang中UTF编码和字符集

Huawei ENSP simulator configures ACL access control list

【服务器数据恢复】某品牌服务器存储raid5数据恢复案例
随机推荐
render函数与虚拟dom
colResizable.js自动调整表格宽度插件
redis事务
伦敦银走势图分析的新方法
Go language notes (2) some simple applications of go
WinCC7.5 SP1如何通过交叉索引来寻找变量及其位置?
【解决方案】PaddlePaddle 2.x调用静态图模式
嵌入式TC 测试用例
MySQL --- 数据库查询 - 聚合函数的使用、聚合查询、分组查询
Huawei ENSP simulator layer 3 switch
async await 在map中使用
js 3D爆炸碎片图片切换js特效
杰理之AD 系列 MIDI 功能说明【篇】
LeetCode 8. String conversion integer (ATOI)
杰理之AD 系列 MIDI 功能说明【篇】
Redis:Redis配置文件相关配置、Redis的持久化
杰理之AD 系列 MIDI 功能说明【篇】
Difference between ApplicationContext and beanfactory (MS)
__init__() missing 2 required positional arguments 不易查明的继承错误
Vue cleans up the keepalive cache scheme in a timely manner