当前位置:网站首页>The windows environment redis uses AOF persistence and cannot generate an AOF file. After generation, the content of the AOF file cannot be loaded
The windows environment redis uses AOF persistence and cannot generate an AOF file. After generation, the content of the AOF file cannot be loaded
2022-06-28 05:43:00 【Six six handsome】
List of articles
- There's a lot of content , Please read carefully , It will definitely solve your problem
- Redis System environment recommended by the service
- Redis The official download address of
- Redis To configure AOF Persistence
- Redis Use AOF The right way to open
- Redis stay Windows Environmental use “ Command to start ” and “ Double click the mouse to start ” The difference between
There's a lot of content , Please read carefully , It will definitely solve your problem
Redis System environment recommended by the service
- Recommended Linux Environment as Redis The carrier of service
- For example, using Centos Can avoid some strange Bug, and Redis The official version of Linux The environment is better than Windows High in environment , It will certainly solve many existing problems , More new features have been developed , New characteristics
- But the content of this article is Windows Environment as a carrier , The solution is Windows Problems in the environment
Redis The official download address of
Windows Version download address :https://github.com/tporadowski/redis/releases

Linux Version download address :https://redis.io/

Redis To configure AOF Persistence
- stay redis.windows.conf Open... In file AOF, Here's the picture , take “appendonly” It is amended as follows yes


- After completing the above steps, the configuration is ready Redis Of AOF Persistence
- But the problem comes with ,
double-click redis-server.exeIt doesn't generate AOF file , There is a solution , Is againDouble-click to open redis-cli.exeExecute the following command
// Command one
config set appendonly yes
// Command two
config set save “”
- After executing the above command , It does generate AOF Persistent files for
appendonly.aof, Here's the picture
- But it is generated in this way AOF file , It can't be used normally , When we turn to Redis Content stored in , Kill again Redis process , Retrieve the newly deposited key You'll get null value , So it is not entirely correct to adopt this method
Redis Use AOF The right way to open
We should not
Double click the mouse directly redis-server.exefile open Redis servicebelong
Command promptUse commandredis-server.exe redis.windows.confstart-up Redis
The above method will successfully generate AOF file , And use Redis Of AOF Data persistence function
Redis stay Windows Environmental use “ Command to start ” and “ Double click the mouse to start ” The difference between
Double click to start ,Redis Only read and restore RDB File restore data

Using the command line , If the AOF Will successfully read AOF Persistent files

append only That is the AOF Data persistence file
边栏推荐
- When using the MessageBox of class toplevel, a problem pops up in the window.
- Docker installs mysql5.7 and starts binlog
- 学术搜索相关论文
- [C language practice - printing hollow square and its deformation]
- 解决ValueError: Iterable over raw text documents expected, string object received.
- If a programmer goes to prison, will he be assigned to write code?
- 小球弹弹乐
- 数据仓库:金融/银行业主题层划分方案
- 双向电平转换电路
- MySQL 45 talk | 05 explain the index in simple terms (Part 2)
猜你喜欢

解决ValueError: Iterable over raw text documents expected, string object received.

codeforces每日5题(均1700)

Line animation

JSP connecting Oracle to realize login and registration

JSP

开发者的时代红利在哪里?

Create NFS based storageclass on kubernetes

JS中的链表(含leetcode例题)<持续更新~>

Blog login box

OpenSSL client programming: SSL session failure caused by an obscure function
随机推荐
[untitled] drv8825 stepping motor drive board schematic diagram
Oracle基础知识总结
Leecode question brushing-ii
数据中台:数据治理的建设思路以及落地经验
TypeScript接口
安装 Ffmpefg
5GgNB和ng-eNB的主要功能
若依实现下拉框
What are functions in C language? What is the difference between functions in programming and functions in mathematics? Understanding functions in programming languages
1404. number of steps to reduce binary representation to 1
【JVM】——JVM中内存划分
JS中的链表(含leetcode例题)<持续更新~>
Gorm transaction experience
[C language practice - printing hollow square and its deformation]
数据中台:AI中台的实施与总结
Application of Beidou No.3 short message terminal in dam safety monitoring scheme
Data midrange: implementation and summary of AI midrange
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
Maskrcnn,fast rcnn, faster rcnn优秀视频
TypeScript基础类型