当前位置:网站首页>Redis persistence mechanism
Redis persistence mechanism
2022-07-06 22:50:00 【InfoQ】
How to guarantee Redis Data can be recovered by restarting after being hung up ?
What is? RDB Persistence ?
redis.confsave 900 1 # stay 900 second (15 minute ) after , If at least 1 individual key change ,Redis Will trigger automatically BGSAVE Command create snapshot .
save 300 10 # stay 300 second (5 minute ) after , If at least 10 individual key change ,Redis Will trigger automatically BGSAVE Command create snapshot .
save 60 10000 # stay 60 second (1 minute ) after , If at least 10000 individual key change ,Redis Will trigger automatically BGSAVE Command create snapshot .
What is? AOF Persistence ?
appendonly yes
server.aof_bufappendfsyncappendonly.aofappendfsync always # Write every time a data change occurs AOF file , This will seriously reduce Redis The speed of
appendfsync everysec # Sync every second , Explicitly synchronize multiple write commands to the hard disk
appendfsync no # Let the operating system decide when to synchronize appendfsync everysec边栏推荐
- Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
- poj 1094 Sorting It All Out (拓扑排序)
- Typescript get function parameter type
- pytorch_ Yolox pruning [with code]
- View
- Chapter 19 using work queue manager (2)
- Les entreprises ne veulent pas remplacer un système vieux de dix ans
- 关于声子和热输运计算中BORN电荷和non-analytic修正的问题
- 第十九章 使用工作队列管理器(二)
- 【雅思口语】安娜口语学习记录part1
猜你喜欢

NPDP certification | how do product managers communicate across functions / teams?

MySQL----初识MySQL

#DAYU200体验官# 在DAYU200运行基于ArkUI-eTS的智能晾晒系统页面

Rust knowledge mind map XMIND

View

#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)

Aardio - integrate variable values into a string of text through variable names
![[leetcode] 19. Delete the penultimate node of the linked list](/img/ab/25cb6d6538ad02d78f7d64b2a2df3f.png)
[leetcode] 19. Delete the penultimate node of the linked list

CSDN 上传图片取消自动加水印的方法

Self made j-flash burning tool -- QT calls jlinkarm DLL mode
随机推荐
做国外LEAD2022年下半年几点建议
Cloud native technology container knowledge points
项目复盘模板
three.js绚烂的气泡效果
2022-07-04 the high-performance database engine stonedb of MySQL is compiled and run in centos7.9
[untitled]
MySQL----初识MySQL
Sword finger offer question brushing record 1
2022-07-05 use TPCC to conduct sub query test on stonedb
OpenSSL:适用TLS与SSL协议的全功能工具包,通用加密库
UVa 11732 – strcmp() Anyone?
Word2vec (skip gram and cbow) - pytorch
HDU 5077 NAND (violent tabulation)
【无标题】
Traversal of a tree in first order, middle order, and then order
存币生息理财dapp系统开发案例演示
How big is the empty structure?
(18) LCD1602 experiment
MySQL authentication bypass vulnerability (cve-2012-2122)
服务器的系统怎么选者