hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-9118) Optimization in HFile V3 when no tags are present in a file
Date Thu, 26 Sep 2013 11:25:02 GMT

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

Anoop Sam John resolved HBASE-9118.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.98.0

Patch committed with the issue HBASE-8496 already contains this. Closing.
                
> Optimization in HFile V3 when no tags are present in a file
> -----------------------------------------------------------
>
>                 Key: HBASE-9118
>                 URL: https://issues.apache.org/jira/browse/HBASE-9118
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 0.98.0, 0.95.2
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.98.0
>
>
> Now with V3 we will write tags length (short) along with every KV after value bytes.
When no tags at all present it will be wasting 2 bytes for every KV. We can avoid this. During
flush let the tags length be written. In fileInfo we can add info like max tags length. During
compaction if all the files undergoing the compaction having a 0 max tags length, we can avoid
writing 2 bytes (0) along with every KV..
> Note : Similar optimization available with mvcc

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message