[
https://issues.apache.org/jira/browse/HBASE-28621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated HBASE-28621:
--------------------------------
Description:
Looking at PrefixFilter, I have noticed that it doesn't use the
SEEK_NEXT_USING_HINT mechanism.
AFAICT, we could safely set the the prefix as a next row hint, which could be a
huge performance win.
Of course, ideally the user would set the scan startRow to the prefix, which
avoids the problem, but the user may forget to do that, or may use the filter
in a filterList that doesn't allow for setting the start/stop rows close tho
the prefix.
was:
Looking at PrefixFilter, I have noticed that it doesn't use the
SEEK_NEXT_USING_HINT mechanism.
AFAICT, we could safely set the the prefix as a next row hint, which could be a
huge performance win.
Of course, ideally the user would set the scan startRow to the prefix, which
avoids the problem, if the user doesn't, then we effectively do a full scan
until the prefix is reached.
> PrefixFilter should use SEEK_NEXT_USING_HINT
> ---------------------------------------------
>
> Key: HBASE-28621
> URL: https://issues.apache.org/jira/browse/HBASE-28621
> Project: HBase
> Issue Type: Improvement
> Components: Filters
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: beginner, beginner-friendly
>
> Looking at PrefixFilter, I have noticed that it doesn't use the
> SEEK_NEXT_USING_HINT mechanism.
> AFAICT, we could safely set the the prefix as a next row hint, which could be
> a huge performance win.
> Of course, ideally the user would set the scan startRow to the prefix, which
> avoids the problem, but the user may forget to do that, or may use the filter
> in a filterList that doesn't allow for setting the start/stop rows close tho
> the prefix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)