当前位置:网站首页>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
边栏推荐
- 杰理之AD 系列 MIDI 功能说明【篇】
- 网件r7000梅林系统5g不稳定 5g信号经常掉线解决方法
- Redis:Redis配置文件相关配置、Redis的持久化
- maya灯建模
- Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
- HMS Core 机器学习服务
- Gobang go to work fishing tools can be LAN / man-machine
- ACM组合计数入门
- LeetCode 7. Integer inversion
- 仿ps样式js网页涂鸦板插件
猜你喜欢
华为ensp模拟器 三层交换机
Gobang go to work fishing tools can be LAN / man-machine
[1200. Différence absolue minimale]
Sword finger offer II 80-100 (continuous update)
NetWare r7000 Merlin system virtual memory creation failed, prompting that the USB disk reading and writing speed does not meet the requirements. Solution, is it necessary to create virtual memory??
华为ensp模拟器 DNS服务器的配置
每日一题-LeetCode1200-最小绝对差-数组-排序
RFID仓库管理系统解决方案有哪些功能模块
maya灯建模
Y56. Chapter III kubernetes from entry to proficiency -- business image version upgrade and rollback (29)
随机推荐
UTF encoding and character set in golang
Idea restore default shortcut key
杰理之AD 系列 MIDI 功能说明【篇】
Go notes (3) usage of go language FMT package
Hwinfo hardware detection tool v7.26 green version
[server data recovery] a case of RAID5 data recovery stored in a brand of server
Flutter在 release版本,打开后随机白屏不显示内容
Actual combat simulation │ JWT login authentication
网件r7000梅林系统5g不稳定 5g信号经常掉线解决方法
【观察】联想:3X(1+N)智慧办公解决方案,释放办公生产力“乘数效应”
redis管道
Day24: file system
__ init__ () missing 2 required positive arguments
宝塔 7.9.2 宝塔控制面板绕过 手机绑定认证 绕过官方认证
Play the music of youth
吐槽 B 站收费,是怪它没钱么?
acwing 3302. 表达式求值
ApplicationContext 与 BeanFactory 区别(MS)
五子棋 上班摸鱼工具 可局域网/人机
华为模拟器ensp的路由配置以及连通测试