You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I think it's necessary to show the overhead memory of them respectively, not only in memory stats but also in info memory and memory doctor commands.
Make all overhead human readable in the memory section of info command.
Show the pubsub flag in the result of client list, and add a sub command client list type xxx in PR Client list type #4503.
P.S. BTW, why we take overhead memory into bytes_per_key?
/* Metrics computed after subtracting the startup memory from
* the total memory. */
size_t net_usage = 1;
if (zmalloc_used > mh->startup_allocated)
net_usage = zmalloc_used - mh->startup_allocated;
mh->dataset_perc = (float)mh->dataset*100/net_usage;
mh->bytes_per_key = mh->total_keys ? (net_usage / mh->total_keys) : 0;
I think just take dataset into account is enough and evident.
The text was updated successfully, but these errors were encountered:
This issue is an additional version of #4493 about show more memory info, and I implement it in PR #4502:
Show
overhead_ht_main
,overhead_ht_expires
andrehashidx
in keyspace section.Notice that in issue Redis 4.0.2 crashed by signal: 11 when dataset size reaches 200+ GB #4493,
used_memory_overhead:137439490190
the overhead memory is too big, I guess redis was doing rehash, so I think it's useful to show the overhead memory of dbs and rehash progress.Bugfix for function
getMemoryOverheadData
.We lost
monitor
clients when we get normal clients buffers.Distinguish
pubsub
clients from normal clients.We set different limits for
normal
slave
andpubsub
clients.So I think it's necessary to show the overhead memory of them respectively, not only in
memory stats
but also ininfo memory
andmemory doctor
commands.Make all overhead human readable in the memory section of info command.
Show the pubsub flag in the result of
client list
, and add a sub commandclient list type xxx
in PR Client list type #4503.P.S. BTW, why we take
overhead
memory intobytes_per_key
?I think just take
dataset
into account is enough and evident.The text was updated successfully, but these errors were encountered: