You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yu Li (JIRA)" <ji...@apache.org> on 2016/01/25 10:25:39 UTC

[jira] [Updated] (HBASE-15162) Add separate metrics for meta/data block hit ratio in cache

     [ https://issues.apache.org/jira/browse/HBASE-15162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yu Li updated HBASE-15162:
--------------------------
    Attachment: HBASE-15162.patch

Attaching the initial patch. Note that this patch depends on HBASE-15161 so could not directly apply on current code base.

Some data after patch:
{noformat}
"blockCacheExpressHitPercent" : 77,
"blockCacheExpressMetaHitPercent" : 83,
"blockCacheExpressDataHitPercent" : 66,
{noformat}

> Add separate metrics for meta/data block hit ratio in cache
> -----------------------------------------------------------
>
>                 Key: HBASE-15162
>                 URL: https://issues.apache.org/jira/browse/HBASE-15162
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Yu Li
>            Assignee: Yu Li
>         Attachments: HBASE-15162.patch
>
>
> Currently we already have a metrics in name of {{blockCacheExpressHitPercent}} to indicate the cache hit ratio. However, since meta block is small and often cached in memory with a high hit ratio, this "mixed" metrics could not show the real data block hit ratio which is more concerned.
> We propose to add two new metrics to show meta and data block cache hit ratio separately, while reserving the old metrics for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)