You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/08/02 21:09:49 UTC

[jira] [Created] (HBASE-9118) Optimization in HFile V3 when no tags are present in a file

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