Home > Article > Backend Development > How does redis provide persistent storage for only one of the libraries?
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?
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)!