hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HBASE-1355) [performance] Cache family maxversions; we were calculating on each access
Date Tue, 28 Apr 2009 22:37:30 GMT

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

stack reassigned HBASE-1355:
----------------------------

    Assignee: stack

> [performance] Cache family maxversions; we were calculating on each access
> --------------------------------------------------------------------------
>
>                 Key: HBASE-1355
>                 URL: https://issues.apache.org/jira/browse/HBASE-1355
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.20.0
>
>         Attachments: 1355.patch
>
>
> Profiling I see we are calculating max versions each time:
> {code}
>       String value = getValue(HConstants.VERSIONS);
>       this.cachedMaxVersions = (value != null)?
>         Integer.valueOf(value).intValue(): DEFAULT_VERSIONS;
> {code}
> Caching it should improve things.  Seeing that its 10% of memory when writing and about
10% of CPU.  Reading its 10% of CPU according to profiler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message