why keyspace misses?

923 views
Skip to first unread message

Raghava Mutharaju

unread,
Apr 18, 2013, 12:03:06 AM4/18/13
to redi...@googlegroups.com
Hello all,

If all the key-value pairs can fit in memory, why would there be key space misses?

The machine on which I run Redis has 16GB RAM. It has the following keyspace hits & misses

keyspace_hits:669385318
keyspace_misses:24788696

Memory values are as follows

used_memory:1465709832
used_memory_human:1.37G
used_memory_rss:1534599168
used_memory_peak:7920770664
used_memory_peak_human:7.38G

So the RAM should be sufficient to hold all the key-value pairs. Why are there still many keyspace misses?

Thank you.

Regards,
Raghava.

Andy McCurdy

unread,
Apr 18, 2013, 12:17:10 AM4/18/13
to redi...@googlegroups.com
Perhaps you're querying on keys that don't exist?
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Raghava Mutharaju

unread,
Apr 18, 2013, 12:20:59 AM4/18/13
to redi...@googlegroups.com
ah, good catch. Yes, that could be the reason :)

Thank you.

Regards,
Raghava.
Reply all
Reply to author
Forward
0 new messages