Home > Backend Development > PHP Tutorial > Why is the save configuration item commented in redis.conf and the last written data is still stored in redis after restarting the server?

Why is the save configuration item commented in redis.conf and the last written data is still stored in redis after restarting the server?

WBOY
Release: 2016-08-18 09:16:03
Original
1463 people have browsed it

Why is the save configuration item commented in redis.conf and the last written data is still stored in redis after restarting the server?
Why did RT comment the save configuration item in redis.conf? After restarting the server, the last written data is still stored in redis? After I finished annotating, I also cleared all the data in the library, but after a few days, I suddenly found that the data written before restarting was still there after restarting the server. I checked the configuration file again and found that there was no problem. ah. . .

Reply content:

Why is the save configuration item commented in redis.conf and the last written data is still stored in redis after restarting the server?
Why did RT comment the save configuration item in redis.conf? After restarting the server, the last written data is still stored in redis? After I finished annotating, I also cleared all the data in the library, but after a few days, I suddenly found that the data written before restarting was still there after restarting the server. I checked the configuration file again and found that there was no problem. ah. . .

You probably haven’t deleted the file persisted by redis. The default name is dump.rdb

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template