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中文网
PHP中文网Original
2016-08-20 09:04:081565browse


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)!

Statement:
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