Created
September 15, 2016 15:17
-
-
Save antirez/d866dfab442a81c337aad4ade6fdee6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
👍👍👍