How to clear Azure Redis Cache?
Asked Answered
U

4

12

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.

Upheld answered 16/2, 2015 at 5:8 Comment(2)
Azure Redis cache is just standard Redis cache hosted in Azure so advice that applies to Redis applies here. There isn't a feature in Azure to allow you to purge all keys or flush the DB but you can find samples online that show you how to do this, or use one of the tools listed on the Redis site: redis.io/clientsHopefully
Possible duplicate of How do I delete everything in Redis?Namara
H
15

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.

Hey answered 16/2, 2015 at 23:0 Comment(0)
A
8

You can use Azure Redis Console to run FLUSHALL.

enter image description here

Atrocious answered 9/3, 2018 at 3:55 Comment(0)
F
2

Rebooting Redis cache did the trick for me. Be sure to select both - master and slave for the reboot.

Redis Reboot Options Screenshot

Freyah answered 11/12, 2017 at 18:47 Comment(0)
J
0

I know this is old question, how ever if anyone is going to search for this here is up to date UI solution as of 2024

enter image description here

Jarrad answered 24/6, 2024 at 14:25 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.