Hi Team,
We had populated 24 million of records (–key-prefix a) in one of the CB bucket whose storage engine type (couchstore) and resident ratio was 79 percent. Then again populated another 22 million records (–key-prefix b) so that all data with “–key-prefix a” will push down to disk and resident ratio was 34 percent. While perfroming get operation for (–key-prefix a) it should be disk read and in CB UI cache miss ratio should reach near to 100 percent but we can see that cache miss ratio is very minimal (0.251 percent).Due to which we are not able to see proper result for r/s and rkB/s metrices through iostat OS command.
Could you please advise why we are seeing such low cache miss ratio.
We are using below pillowfight commands to populate data.
/opt/couchbase/bin/cbc-pillowfight -U couchbase://xx.xx.xx.xx/data1 -u -P --min-size 1000 --max-size 1000 --json --set-pct 100 --batch-size 1 --num-items 1000000000 --sequential --num-threads 20 --rate-limit 8000 --key-prefix a;
/opt/couchbase/bin/cbc-pillowfight -U couchbase://xx.xx.xx.xx/data1 -u -P --min-size 1000 --max-size 1000 --json --set-pct 100 --batch-size 1 --num-items 1000000000 --sequential --num-threads 20 --rate-limit 8000 --key-prefix b;
/opt/couchbase/bin/cbc-pillowfight -U couchbase://xx.xx.xx.xx/data1 -u -P --min-size 1000 --max-size 1000 --json --set-pct 0 --batch-size 1 --num-items 24000000 --num-threads 20 --rate-limit 8000 --key-prefix a --no-population;
Thanks,
Debasis