ELL

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

List keys

Usage: ELL *
Output is type|key|value|last_update_time|expire_time.
It shows more information than ELS.
📍Output (query) count limit: limited by redis.conf ll_max 10000.
📍Why the limit: if there are very many keys (e.g. 10 million or more) and there is no limit, other commands cannot run while this command runs, which can be a problem on production servers.
The default ll_max is 10000. You can change it at runtime with CONFIG SET if needed.

Example

Command>ell     ℹ️ If you do not specify 'key_pattern', all keys are listed.
Result>0) type|key|value|last_update_time|expire_time
1) string|keyB_000538223312|valueB_000690908426|[2025-07-21 08:50:25]|[]
2) string|keyB_000652109500|valueB_000453698114|[2025-07-21 08:50:25]|[]
.......................
804) hash|myhash76|3|[2025-07-21 08:50:52]|[]
Command>ell *
Result>0) type|key|value|last_update_time|expire_time
1) string|keyB_000538223312|valueB_000690908426|[2025-07-21 08:50:25]|[]
2) string|keyB_000652109500|valueB_000453698114|[2025-07-21 08:50:25]|[]
.......................
804) hash|myhash76|3|[2025-07-21 08:50:52]|[]
Command>ell keyA*     ℹ️ List keys starting with keyA
Result>0) type|key|value|last_update_time|expire_time
1) string|keyA_000375248904|valueA_000481358125|[2025-07-21 08:50:18]|[]
2) string|keyA_000082855540|valueA_000895238258|[2025-07-21 08:50:18]|[]
.......................
200) string|keyA_000962842702|valueA_000140923508|[2025-07-21 08:50:18]|[]
Command>ell * string     ℹ️ List string data type keys
Result>0) type|key|value|last_update_time|expire_time
1) string|keyB_000538223312|valueB_000690908426|[2025-07-21 08:50:25]|[]
2) string|keyB_000652109500|valueB_000453698114|[2025-07-21 08:50:25]|[]
.......................
403) string|keyA_000962842702|valueA_000140923508|[2025-07-21 08:50:18]|[]    
ℹ️ From ent810, data is stored separately by data type, so specifying a data type is recommended.
Command>ell * string count 10     ℹ️ Specify the output (query) count
Result>0) type|key|value|last_update_time|expire_time
1) string|keyB_000538223312|valueB_000690908426|[2025-07-21 08:50:25]|[]
2) string|keyB_000652109500|valueB_000453698114|[2025-07-21 08:50:25]|[]
.......................
10) string|keyB_000015333864|valueB_000209398665|[2025-07-21 08:50:25]|[]


Syntax

ELL [key_pattern] [data_type] [COUNT count]

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

<< ELS ELL ERM >>

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