Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clear Azure Redis Cache?

I would like to know how to clear Azure Redis Cache from portal or any other easy way to clear all the keys ? I am using azure redis cache for my azure cloud service and I would like to know any easy way to clear all the keys for my azure redis cache. I couldn't find anything on the azure portal or the web on how to do this.

Thanks for your help.

like image 386
Bitsian Avatar asked Feb 16 '15 05:02

Bitsian


People also ask

How do I clear my Azure portal cache?

Sign in to the portal as an administrator. Navigate to the URL as follows: <portal_path>/_services/about . Select Clear Cache.

How do I reset Redis cache?

To clear data of a DCS Redis 4.0 or 5.0 instance, you can run the FLUSHDB or FLUSHALL command in redis-cli, use the data clearing function on the DCS console, or run the FLUSHDB command on Web CLI. To clear data of a Redis Cluster instance, run the FLUSHDB or FLUSHALL command on every shard of the instance.

How do I restart Azure Redis cache?

To reboot one or more nodes of your cache, select the nodes and select Reboot. If you have a premium cache with clustering enabled, select the shards to reboot, and then select Reboot. After a few minutes, the selected nodes reboot, and are back online a few minutes later.


1 Answers

The cache is cleared using standard Redis commands, like FLUSHALL. You can issue the command from any client, like redis-cli.exe or StackExchange.Redis.

like image 122
Mike Harder Avatar answered Oct 13 '22 15:10

Mike Harder