<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq" -->

---
title: Valkey · Finding big keys in a running Valkey cluster...
description: Valkey Admin 1.1 introduces big key detection, ranking the largest keys across every primary in a running Valkey cluster from a single view, eliminating the...
canonical: https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Valkey · Finding big keys in a running Valkey cluster with Valkey Admin | daily.dev
og:description: Valkey Admin 1.1 introduces big key detection, ranking the largest keys across every primary in a running Valkey cluster from a single view, eliminating the...
og:url: https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq
og:image: https://api.daily.dev/og/posts/hszlCcGRQ.png
og:image:alt: Valkey · Finding big keys in a running Valkey cluster with Valkey Admin
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Valkey · Finding big keys in a running Valkey cluster with Valkey Admin

**[Valkey](https://daily.dev/sources/valkey-blog)** · 5 min read · 0 upvotes · 0 comments

## Summary

Valkey Admin 1.1 introduces big key detection, ranking the largest keys across every primary in a running Valkey cluster from a single view, eliminating the need to parse RDB files offline or write custom SCAN loops. It samples 10,000 keys per primary by default, returning the top 50 by byte size, but the limit can be raised to scan every key. As of version 1.1.1, per-key commands are pipelined into batches, making a full pass across 2 million keys on a 25-shard cluster take just 10.34 seconds. The tool surfaces key name, type, size, TTL, and node, helping engineers decide whether to add a TTL, check encoding conversions, or split oversized collections across keys or hash tags.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://valkey.io/blog/finding-big-keys-in-a-running-valkey-cluster>

## Questions this post answers

### How does Valkey Admin's big key detection differ from valkey-cli --bigkeys?

Valkey Admin 1.1 scans every primary in a cluster in one pass and ranks keys by actual memory usage in bytes, while valkey-cli --bigkeys only covers one node and one database, reports a single key per type, and sizes collections by element count rather than bytes. valkey-cli --memkeys is closer, since it calls MEMORY USAGE per key, but still requires scanning nodes individually rather than across a whole cluster at once.

_Teams comparing key-inspection tools for Valkey or Redis can track feature differences like this on daily.dev._

### How fast can Valkey Admin scan a large Valkey cluster for big keys?

Valkey Admin 1.1.1 pipelines per-key commands into one batch per SCAN iteration, letting a full pass over 2 million string keys across 25 shards on an Amazon ElastiCache for Valkey 9.1.0 cluster with TLS complete in 10.34 seconds, roughly 7,700 keys per second per primary. Collection types and higher network latency will slow this down.

_Ops engineers sizing cluster scans for memory troubleshooting can follow benchmarks like this on daily.dev._

### What should I do after finding an oversized key in Valkey or Redis?

Check OBJECT ENCODING to see if a hash or list has outgrown its compact listpack encoding, since that conversion is a common reason a key balloons faster than its actual data. Also check whether the key has a TTL, since untracked keys usually just need an expiry. If the key must stay large, split it across multiple keys, spreading them across slots for load balance or grouping them with a hash tag to preserve MULTI/EXEC atomicity.

_Developers debugging memory or latency spikes tied to oversized keys can dig into fixes like these via daily.dev._

## Similar posts on daily.dev

- [Valkey just had a 17x year. Its lead maintainer still doesn’t want Redis to die.](https://daily.dev/posts/valkey-just-had-a-17x-year-its-lead-maintainer-still-doesn-t-want-redis-to-die--hymzgle9p) · The New Stack · 2 upvotes · 0 comments
- [Valkey · Browsing a Valkey keyspace safely: SCAN, INFO, and a read-only ACL user](https://daily.dev/posts/valkey-browsing-a-valkey-keyspace-safely-scan-info-and-a-read-only-acl-user-ur4g2xslw) · Valkey · 0 upvotes · 0 comments
- [Announcing Valkey 9.1 for Amazon ElastiCache](https://daily.dev/posts/announcing-valkey-9-1-for-amazon-elasticache-pvemznhnh) · AWS Database Blog · 0 upvotes · 0 comments
- [Valkey 9.0 Introduces Multi-Database Clustering, Atomic Slot Migration, and Major Performance Gains](https://daily.dev/posts/valkey-9-0-introduces-multi-database-clustering-atomic-slot-migration-and-major-performance-gains-2gkxrlley) · InfoQ · 7 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#database](https://daily.dev/tags/database), [#redis](https://daily.dev/tags/redis), [#valkey](https://daily.dev/tags/valkey)

[View this post on daily.dev](https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Valkey · Finding big keys in a running Valkey cluster with Valkey Admin","url":"https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq"},"datePublished":"2026-09-10T16:16:23.377Z","dateModified":"2026-10-15T02:22:45.430Z","description":"Valkey Admin 1.1 introduces big key detection, ranking the largest keys across every primary in a running Valkey cluster from a single view, eliminating the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7d50ac6b4b5fd620217ccf844fb26fa7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7d50ac6b4b5fd620217ccf844fb26fa7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Valkey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Valkey","logo":"https://media.daily.dev/image/upload/s--XXPzEmD8--/f_auto,q_auto/v1787487496/logos/valkey-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/valkey-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,database,redis,valkey","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Valkey","item":"https://daily.dev/sources/valkey-blog"},{"@type":"ListItem","position":3,"name":"Valkey · Finding big keys in a running Valkey cluster with Valkey Admin"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/valkey-finding-big-keys-in-a-running-valkey-cluster-with-valkey-admin-hszlccgrq#faq","mainEntity":[{"@type":"Question","name":"How does Valkey Admin's big key detection differ from valkey-cli --bigkeys?","acceptedAnswer":{"@type":"Answer","text":"Valkey Admin 1.1 scans every primary in a cluster in one pass and ranks keys by actual memory usage in bytes, while valkey-cli --bigkeys only covers one node and one database, reports a single key per type, and sizes collections by element count rather than bytes. valkey-cli --memkeys is closer, since it calls MEMORY USAGE per key, but still requires scanning nodes individually rather than across a whole cluster at once. Teams comparing key-inspection tools for Valkey or Redis can track feature differences like this on daily.dev."}},{"@type":"Question","name":"How fast can Valkey Admin scan a large Valkey cluster for big keys?","acceptedAnswer":{"@type":"Answer","text":"Valkey Admin 1.1.1 pipelines per-key commands into one batch per SCAN iteration, letting a full pass over 2 million string keys across 25 shards on an Amazon ElastiCache for Valkey 9.1.0 cluster with TLS complete in 10.34 seconds, roughly 7,700 keys per second per primary. Collection types and higher network latency will slow this down. Ops engineers sizing cluster scans for memory troubleshooting can follow benchmarks like this on daily.dev."}},{"@type":"Question","name":"What should I do after finding an oversized key in Valkey or Redis?","acceptedAnswer":{"@type":"Answer","text":"Check OBJECT ENCODING to see if a hash or list has outgrown its compact listpack encoding, since that conversion is a common reason a key balloons faster than its actual data. Also check whether the key has a TTL, since untracked keys usually just need an expiry. If the key must stay large, split it across multiple keys, spreading them across slots for load balance or grouping them with a hash tag to preserve MULTI/EXEC atomicity. Developers debugging memory or latency spikes tied to oversized keys can dig into fixes like these via daily.dev."}}]}
```

