ARINFO
Since 1.1.0Arrays
Syntax
ARINFO key [FULL]Returns the array's filled slots (count), its len, the insert cursor (next-insert-index), and how it is laid out in memory: its slices of slice-size slots, and the directories that find them. FULL adds each slice's statistics. In RESP3 the reply is a map.
Examples
> ARINFO r
1) "count"
2) (integer) 3
3) "len"
4) (integer) 3
5) "next-insert-index"
6) (integer) 2
...
13) "slice-size"
14) (integer) 4096