The method of clearing cached data by redis
This article is to share with you about the method of redis to clear cached data, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Using command line to clean up redis cache in Windows environment
1. Enter cmd under the redis installation directory
2. Redis-cli-p port number
3. Flushdb clears the current database cache
4. Flushall clears all caches of the entire redis
The client can directly right-click:
The above is how redis clears the cached data, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.