Skip to content

v0.25.0

Choose a tag to compare

@KIvanow KIvanow released this 01 Jul 13:28
0d2d5a9

Key Analytics: big-key detection & keyspace insights

A new Key Analytics screen surfaces where memory and hot traffic actually live in your Valkey/Redis keyspace - inspired by
valkey#1827.

New

  • Largest Keys - top keys ranked by cardinality (element count for collections, byte length for strings), the true "big-key" signal, not just memory footprint. Each entry shows type, cardinality, memory, and TTL.
  • Key Sizes - a server-side size histogram from INFO keysizes (no keyspace scan). Available on Redis 8.0+; the tab degrades gracefully with an empty state on servers that don't expose the section.
  • Deep Scan - one-click full-keyspace scan for exact rankings, alongside the default sampled collection.

Details

  • Per-key probing uses a single pipelined round-trip (MEMORY USAGE, OBJECT IDLETIME/FREQ, TTL, TYPE, per-type length).
  • Sampled runs extrapolate pattern totals to full keyspace size; deep-scan visit counts are normalized to distinct-key totals to stay accurate under SCAN's duplicate visits.
  • Working-set memory is bounded during deep scans by retaining only the top-N candidates per ranking signal.
  • Collection refreshes the active tab immediately (no more tab-switch to see new data).

What's Changed

  • feat(key-analytics): add largest-keys ranking, key-sizes histogram, deep scan by @KIvanow in #288

Full Changelog: v0.24.0...v0.25.0