Redis 8.10's compact hashes need HIMPORT or a restart to kick in
dev.to·
Redis 8.10 introduced compact hashes, a memory-saving feature designed for workloads where many key-value hashes share the same field schema. By declaring field names once per connection using new commands like HIMPORT PREPARE and loading values with HIMPORT SET, Redis stores field names centrally rather than duplicating them across every single key. This breakdown covers practical benchmarking and highlights key operational details, explaining why existing Redis instances require explicit HIMPORT usage or a restart to activate these memory optimizations.