'Is there a command to view total all of Redis Lists?
i can view global total key created by sets by just execute command "redis-cli info keyspace", but redis List not listed by that command only total Keys. how do i see global total lists inside my server (not only 1 specific list) ?
example List not listed in "info keyspace" only keys (2 additional push to 2 list, but the still in 78.106 keys) :
127.0.0.1:6379> info keyspace
# Keyspace
db0:keys=78106,expires=20,avg_ttl=10922697
127.0.0.1:6379> rpush TEST20220328B fulan
(integer) 2
127.0.0.1:6379> rpush TEST20220328 similikiti2
(integer) 2
127.0.0.1:6379> info keyspace
# Keyspace
db0:keys=78106,expires=20,avg_ttl=12895288
example keys listed in info keyspace (total keys raised from 78.106 to 78.107) :
127.0.0.1:6379> set Test ABCD
OK
127.0.0.1:6379> info keyspace
# Keyspace
db0:keys=78107,expires=20,avg_ttl=12656256
127.0.0.1:6379>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
