Commands.app

DBSIZE

Server

Get number of keys in current database

Examples
Common usage examples

Count keys

DBSIZE
Notes
  • Fast O(1) operation
Related Commands
You might also find these useful