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

PHP中文网
Release: 2016-08-20 09:04:08
Original
1398 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!