DBALL

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

DBALL query key counts for all DBs

Usage is dball.
You can query the total key count and the count by data type for each DB.
From Ent 8.1.0, keys are stored by data type, so key counts by type can be queried quickly.

Example

Command>dball
Result>1) "db0:total_keys=802,string=402,list=100,set=100,zset=100,hash=100,stream=0,expires=2"
2) "db1:total_keys=7,string=3,list=2,set=2,zset=0,hash=0,stream=0,expires=0"


Syntax

DBALL

  • Available since Ent 8.1.0.
  • Time complexity is O(1).

<< DB DBALL ETYPE >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.