Is there a way to print the number of keys in Redis?

I am aware of

keys *

But that seems slightly heavy weight. – Given that Redis is a key value store maybe this is the only way to do it. But I would still like to see something along the lines of

count keys *

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *