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
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework