DBSIZE
Syntax
DBSIZE
- Available since:
- 1.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@keyspace
,@read
,@fast
,
Return the number of keys in the currently-selected database.
Learn what you need to go from beginner to GenAI expert
Get startedDBSIZE
@keyspace
,
@read
,
@fast
,
Return the number of keys in the currently-selected database.