Redis - Server Debug Object Command


Advertisements

Redis DEBUG OBJECT is a debugging command that should not be used by the clients. Check the OBJECT command instead.

Return Value

String reply.

Syntax

Following is the basic syntax of Redis DEBUG OBJECT command.

redis 127.0.0.1:6379> DEBUG OBJECT key

Example

redis 127.0.0.1:6379> SET a a  
OK 
redis 127.0.0.1:6379> DEBUG OBJECT a  
Value at:0x7f68f7886df0 refcount:1 encoding:raw serializedlength:2 lru:1566733 
lru_s 
redis_server.htm
Advertisements