Would you like to learn how to flush the cache entries from a Redis server? In this tutorial, we are going to show you how to delete all keys from the Redis server cache.

• Ubuntu 18.04
• Ubuntu 19.04
• Redis 5.0.5

Redis - Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Redis server.

Tutorial Redis Server - Deleting all cache entries

Access the Redis server command-line.

Copy to Clipboard

Delete all entries from the Redis server cache.

Copy to Clipboard

On the Redis command-line, use the following command to display the service statistics.

Copy to Clipboard

In our example, we deleted all the Redis server cache database.