Question
A busy production primary needs a low-impact inventory of oversized keys; which redis-cli or valkey-cli mode fits?
Answer
Use --bigkeys with -i to throttle it. It walks the keyspace with SCAN, sleeps the given interval every 100 SCAN calls, and reports the largest keys found per data type. Run it against a replica to keep load off the primary. Applies to Redis and Valkey.