You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/04/24 18:21:16 UTC
[jira] [Commented] (HBASE-8418) Caching KeyValue.getRowLength() to
improve scan performance
[ https://issues.apache.org/jira/browse/HBASE-8418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640599#comment-13640599 ]
Andrew Purtell commented on HBASE-8418:
---------------------------------------
+1, patch seems reasonable. What does the top ~5 look like before and after? Just curious.
> Caching KeyValue.getRowLength() to improve scan performance
> -----------------------------------------------------------
>
> Key: HBASE-8418
> URL: https://issues.apache.org/jira/browse/HBASE-8418
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Minor
> Attachments: HBASE-8418-0.94-v0.patch
>
>
> Looking at the profile seems that Bytes.toShort() is called a lot.
> the calls are in ScanQueryMatcher.match() and KeyValue.KeyComparator.compare()
> getKeyLength() is already cached, but getRowLength() is not.
--
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