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] [Created] (HBASE-9118) Optimization in HFile V3 when no tags are present in a file
Date Fri, 02 Aug 2013 19:09:49 GMT
Anoop Sam John created HBASE-9118:
-------------------------------------

             Summary: 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
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John


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