Count the number of keys in the database.
redis.dbsize()
This command has no arguments
The number of keys in the database
Was this page helpful?