TECHIES WORLD

For Techs.... Techniques.... Technologies....

AWSCpanelLinux

How to list keys in Redis

We can use the KEYS command to list out the keys in Redis.

>KEYS *

This will list out all keys in Redis.

Please note that this is not recommended for large databases as this will affect the performance.

So instead of listing out all keys, use some keywords for search.

>KEYS *keyword*

This will list out the keys those are matching with the keyword.

That's all….

Leave a Reply