I am using couchbase 1.8.1. This is the output cbstats command
ubuntu@ip-10-128-117-9:~$ /MEMBASEDATA/opt/couchbase/bin/cbstats localhost:11210 all | egrep "hit|miss"
cas_hits: 0
cas_misses: 0
decr_hits: 0
decr_misses: 0
delete_hits: 76
delete_misses: 78
get_hits: 636552
get_misses: 1450283
incr_hits: 0
incr_misses: 0
it is showing very high number of misses. but when I check in web console, miss ratio is almost 0. Does it mean there is something wrong? If yes, is there any way to know what keys are being missed, so that I can investigate my code.
get_misses actually refers to the number of times a requested document was not found, and in fact not the number of cache misses. That stat is given by ep_bg_fetched.
http://docs.couchbase.com/admin/admin/Concepts/bp-maintenance.html