I am a win7 system and successfully installed redis,. Now I have configured
in the configuration file.save 900 1
save 300 10
save 60 10000
rdb persistence is supposed to be enabled, but after set and get operations, the file has not been updated for several hours (I thought I was going to restart my computer, but I found that it is still the same phenomenon). If I update it after save, that is, I want to update it manually, what is the point of this persistence?
passed the test: 1. Modify the redis.conf file to set daemonize to yes
2.aof
3.cmdredis-server.exe Redis.confredis-
server.exe
the above is tested by myself, and it can be persisted normally. It feels so strange, and I have to turn off aof?. Do not understand
and found a phenomenon: when you close aof, the content of the rdb file is different from that of the rdb file when you open aof. It seems that there is a rdb file that opens aof and a rdb file that does not open aof, but the file path is the same
rdis if rdb and aof are enabled at the same time, the aof file is read by default, so you should execute bgrewriteaof, once before opening aof to save the current key,value, and then add up the operations
.