Articles

How to clear redis keys

In PHP on October 2, 2011 by patrellery Tagged:


The other day we found a big issue on our development platform and we had to clear Redis memory/Keys to make sure we re-import valid data to our database.

The funny part is, since we are new at it, we didn’t know how to do it! After some digging, we found out this:

FLUSHALL @ http://redis.io/commands/flushall

We realize after few minutes we had to run it from the “redis-cli”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: