http://redis.io/commands/keys "While the time complexity for this operation is O(N), the constant times are fairly low. For example, Redis running on an entry level laptop can scan a 1 million key database in 40 milliseconds."
You certainly shouldn't use it in production code, but running it on a production database by hand occasionally shouldn't be too bad. (Especially if you have slaves.)
Comments
http://redis.io/commands/keys "While the time complexity for this operation is O(N), the constant times are fairly low. For example, Redis running on an entry level laptop can scan a 1 million key database in 40 milliseconds."
You certainly shouldn't use it in production code, but running it on a production database by hand occasionally shouldn't be too bad. (Especially if you have slaves.)