Returns the bytes a single key occupies, including its value and overhead. Great for finding oversized keys that blow up the memory budget. Add SAMPLES for more precise estimates on big collections.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.