Home > Backend Development > PHP Tutorial > How does redis provide persistent storage for only one of the libraries?

How does redis provide persistent storage for only one of the libraries?

PHP中文网
Release: 2016-08-20 09:04:08
Original
1564 people have browsed it


My redis has three libraries. I only want to persist the #3 library, and the other two libraries are only cached in memory. Is this possible?

Reply content:

My redis has three libraries. I only want to persist the #3 library, and the other two libraries are only cached in memory. Is this possible?


No, and the use of multiple databases is not recommended now. It is better to have a redis instance for each library, which can also meet your persistence needs

The above is how redis can only provide persistent storage for one of the libraries? For more related content, please pay attention to the PHP Chinese website (www.php.cn)!

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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template