[
https://issues.apache.org/jira/browse/HBASE-25187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17219459#comment-17219459
]
ramkrishna.s.vasudevan commented on HBASE-25187:
------------------------------------------------
This patch along with the removal of the sanity check in the KVUtil gives 12%
improvement in scans reading 5G of data and filtering using SCVF. How ever in
this patch I have not removed the sanity check so probably the improvement is
going to be lesser than 12%.
> Improve SizeCachedKV variants initialization
> --------------------------------------------
>
> Key: HBASE-25187
> URL: https://issues.apache.org/jira/browse/HBASE-25187
> Project: HBase
> Issue Type: Improvement
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Priority: Minor
> Fix For: 3.0.0-alpha-1, 2.3.3
>
>
> Currently in SizeCachedKV we get the rowlength and Key length from the
> buffers. This can be optimized because we can pass the keylen and row len
> while actually creating the cell while reading the cell from the block. Some
> times we see that the SizeCachedKV takes the max width in a flame graph -
> considering the fact we also do a sanity check on the created KV.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)