You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2017/12/10 00:16:20 UTC
[jira] [Commented] (PHOENIX-4266) Avoid scanner caching in Phoenix
[ https://issues.apache.org/jira/browse/PHOENIX-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285039#comment-16285039 ]
Lars Hofhansl commented on PHOENIX-4266:
----------------------------------------
I think this done already, right [~jamestaylor]?
> Avoid scanner caching in Phoenix
> --------------------------------
>
> Key: PHOENIX-4266
> URL: https://issues.apache.org/jira/browse/PHOENIX-4266
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Sergey Soldatov
>
> Phoenix tries to set caching on all scans. On HBase versions before 0.98 that made sense, now it is the wrong thing to do.
> HBase will by default do size based chunking. Setting scanner caching prevents HBase doing this work.
> We should avoid scanner everywhere, and only use in cases where we know the number of rows to be returned (and that number is small).
> [~sergey.soldatov], [~jamestaylor]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)