redis-doc icon indicating copy to clipboard operation
redis-doc copied to clipboard

`MEMORY USAGE` command page doesn't explain which types are nested

Open stepanmracek opened this issue 1 year ago • 0 comments

The page states:

For nested data types, the optional SAMPLES option can be provided, where count is the number of sampled nested values. The samples are averaged to estimate the total size. By default, this option is set to 5. To sample the all of the nested values, use SAMPLES 0.

But it is not described for which types the optional SAMPLES parameter is suitable. https://redis.io/docs/data-types/ does not explicitly mention which types are nested.

stepanmracek avatar Sep 22 '23 15:09 stepanmracek