DBALL

레디스 개발자 교육 신청 레디스 정기점검/기술지원
Redis Technical Support
레디스 엔터프라이즈 서버
Redis Enterprise Server

DBALL 모든 DB 키 개수 조회

사용법은 dball 이다.
db별로 총 키 개수와 데이터 타입별 개수를 조회할 수 있습니다.
Ent 8.1.0부터 데이터 타입별로 저장되므로 데이터 타입별 키 개수를 빠르게 조회할 수 있습니다.

Example

명령>dball
결과>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"


명령문

DBALL

  • 이 명령은 Ent 8.1.0 부터 사용할 수 있다.
  • 논리적 처리 소요시간은 O(1)이다.

<< DB DBALL ETYPE >>

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