[
https://issues.apache.org/jira/browse/HBASE-15643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373133#comment-15373133
]
Elliott Clark commented on HBASE-15643:
---------------------------------------
incrementHitForTable does
{code}
MetricsTableCacheValues val = tableCacheMetricsMap.get(tableName);
{code}
incrementHitForTable/incrementMissForTable is called on every block read.
> Need metrics of cache hit ratio, etc for one table
> --------------------------------------------------
>
> Key: HBASE-15643
> URL: https://issues.apache.org/jira/browse/HBASE-15643
> Project: HBase
> Issue Type: Improvement
> Reporter: Heng Chen
> Assignee: Alicia Ying Shu
> Attachments: HBASE-15643.patch
>
>
> There are many tables on our cluster, only some of them need to be read
> online.
> We could improve the performance of read by cache, but we need some metrics
> for it at table level. There are a few we can collect: BlockCacheCount,
> BlockCacheSize, BlockCacheHitCount, BlockCacheMissCount, BlockCacheHitPercent
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)