`|Redis Documentation| `_
**DbsizeCommand: Contents**
`DBSIZE <#DBSIZE>`_
`Return value <#Return%20value>`_
DbsizeCommand
=============
#sidebar `GenericCommandsSidebar `_
DBSIZE
======
Return the number of keys in the currently selected database.
Return value
------------
`Integer reply `_
.. |Redis Documentation| image:: redis.png