Redis Server: DBSIZE
DBSIZE
Redis DBSIZE command is used to return the number of keys in selected database.
Syntax:
DBSIZE
Available since
1.0.0.
Return Value
Integer reply.
Return Value Type
Integer
Example: Redis DBSIZE
redis 127.0.0.1:6379> DBSIZE (integer) 147
Previous:
CONFIG RESETSTAT
Next:
DEBUG OBJECT
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics