
- Configuration
- Server Configuration List
- Download & Install Redis
- Start Redis Server
- Architecture Overview
- Redis Performance Update
- Redis-cli
- Redis-benchmark
- Redis Security
- Event Notification
- Client Side Caching 6.0
- Redis Threads Update
- POSIX Thread
- Redis Process
- Process Thread Concept
- Server Data Structure
- Server Functions
- Redis.conf han
- Redis.conf eng
- Server
- Connection
- Persistence
- Replication
- Administration
- Raspberry Pi New
- New Dev Functions
- Params General
- Params AOF
- Params RDB
- Params Replication
- Internal Structure
- Internal Flow Overview
- Command Process
- STRINGS Data Structure
- ZIP List of LISTS
- LINKED List of LISTS
- QUICK List of LISTS
- INTSET of SETS
- HASH Table of SETS
- ZIP List of ZSETS
- SKIP List of ZSETS
- ZIP List of HASHES
- HASH Table of HASHES
- HASH Table of KEYS
- RAX radix tree
- Listpack
- Stream
- RESP
- Dictionary(Hash Tables) New
- Redis on Windows
redis server commands db
DB
![]() |
![]() |
![]() |
---|
DB 키 개수 조회
사용법은 db 이다.
총 키 개수와 데이터 타입별 개수를 조회할 수 있다.
Ent 8.1.0부터 데이터 타입별로 저장되므로 데이터 타입별 키 개수를 빠르게 조회할 수 있습니다.
Example
명령> | db |
결과> | db0:total_keys=802,string=402,list=100,set=100,zset=100,hash=100,module=0,stream=0,expires=2 |
명령문
DB
- 이 명령은 Ent 8.1.0 부터 사용할 수 있다.
- 논리적 처리 소요시간은 O(1)이다.
<< failover | DB | DBALL >> |
---|
Email
답글이 올라오면 이메일로 알려드리겠습니다.