Find the storage of a Redis key

9 Apr 2016

If you need to know the rough storage used by a key in Redis, use the debug object command, and check serializedlength for the rough number of bytes used by the key.

For instance:

debug object mykey