Skip to content

Instantly share code, notes, and snippets.

@antirez

antirez/mem.txt

Created Sep 15, 2016
Embed
What would you like to do?
127.0.0.1:6379> memory help
1) "MEMORY USAGE <key> [SAMPLES <count>] - Estimate memory usage of key"
2) "MEMORY OVERHEAD - Show memory usage details"
127.0.0.1:6379> memory overhead
1) "total.allocated"
2) (integer) 1014672
3) "startup.allocated"
4) (integer) 962496
5) "replication.backlog"
6) (integer) 0
7) "clients.slaves"
8) (integer) 0
9) "clients.normal"
10) (integer) 32782
11) "aof.buffer"
12) (integer) 0
13) "db.0"
14) 1) "overhead.hashtable.main"
2) (integer) 152
3) "overhead.hashtable.expires"
4) (integer) 32
15) "overhead.total"
16) (integer) 995462
17) "dataset"
18) (integer) 19210
@FGRibreau

This comment has been minimized.

Copy link

@FGRibreau FGRibreau commented Sep 15, 2016

👍👍👍

@rangan337

This comment has been minimized.

Copy link

@rangan337 rangan337 commented Sep 19, 2016

Given that overhead usually means an expense or cost, whats the reasoning for using memory overhead as the command rather than say memory usage ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment