当前位置:网站首页>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边栏推荐
- signed、unsigned关键字
- [leetcode] 19. Delete the penultimate node of the linked list
- 2022-07-05 use TPCC to conduct sub query test on stonedb
- 金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)
- config:invalid signature 解决办法和问题排查详解
- MySQL authentication bypass vulnerability (cve-2012-2122)
- 【无标题】
- Extern keyword
- Slide the uniapp to a certain height and fix an element to the top effect demo (organize)
- sizeof关键字
猜你喜欢

Aardio - construct a multi button component with customplus library +plus

MATLAB小技巧(27)灰色预测

Traversal of a tree in first order, middle order, and then order

Adavit -- dynamic network with adaptive selection of computing structure
![[leetcode] 19. Delete the penultimate node of the linked list](/img/ab/25cb6d6538ad02d78f7d64b2a2df3f.png)
[leetcode] 19. Delete the penultimate node of the linked list

Matlab tips (27) grey prediction

浅谈网络安全之文件上传

企業不想換掉用了十年的老系統

Rust knowledge mind map XMIND

Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
随机推荐
AdaViT——自适应选择计算结构的动态网络
OpenSSL:适用TLS与SSL协议的全功能工具包,通用加密库
Windows auzre background operation interface of Microsoft's cloud computing products
Les entreprises ne veulent pas remplacer un système vieux de dix ans
Matlab tips (27) grey prediction
机试刷题1
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
Aardio - construct a multi button component with customplus library +plus
The ceiling of MySQL tutorial. Collect it and take your time
Inno setup packaging and signing Guide
【踩坑合辑】Attempting to deserialize object on CUDA device+buff/cache占用过高+pad_sequence
General implementation and encapsulation of go diversified timing tasks
Plafond du tutoriel MySQL, bien collecté, regardez lentement
Cocoscreator+typescripts write an object pool by themselves
signed、unsigned关键字
C three ways to realize socket data reception
ThreadLocal详解
MATLAB小技巧(27)灰色预测
Aardio - does not declare the method of directly passing float values
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)