Each Valkey datatype can be stored in a compact encoding or a full structure, depending on how many elements a key has and how long the values are. The compact form saves memory. One extra character can push a hash field past hash-max-listpack-value, 64 by default, and switch the key to a hashtable.
At scale the difference is large. In an example Kyle Davis published, raising that value limit to 128 shrank a dataset from 100 GB across five nodes to 59 GB across three.
This talk demos an open source encoding analyzer that scans a dataset and reports which encoding each key uses and how field lengths are distributed. It works with key prefixes and cluster mode, and it writes Markdown or JSON. Measure first and test the change in staging: existing keys do not convert back without a reload.
Event
Speaker card




