[ 
https://issues.apache.org/jira/browse/PHOENIX-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917606#comment-13917606
 ] 

Lars Hofhansl commented on PHOENIX-76:
--------------------------------------

10m rows, 10 cols each, 8 bytes keys, 10 bytes values, encoding = FAST_DIFF, 
exactly one version of each column, everything in the blockcache, *2* verions 
each:
||Columns selected||none||1||1,2||1,2,3||2||2,3||2,3,4||2,4,6||1,2,3,4, 
6,7,8,9,10||1,2,3,4,5,6,7,8,9,10|
|Scan time/s|44.8|23.3|27|30.5|32.5|36.2|40.1|58.1|53.8|47.5|


> Fix perf regression due to PHOENIX-29
> -------------------------------------
>
>                 Key: PHOENIX-76
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-76
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: James Taylor
>            Assignee: Anoop Sam John
>             Fix For: 3.0.0
>
>         Attachments: PHOENIX-76.patch
>
>
> Many queries got slower as a result of PHOENIX-29. There are a few simple 
> checks we can do to prevent the adding of the new filter:
> - if the query is an aggregate query, as we don't return KVs in this case, so 
> we're only doing extra processing that we don't need. For this, you can check 
> statement.isAggregate().
> - if there are multiple column families  referenced in the where clause, as 
> the seek that gets done is better in this case because we'd potentially be 
> seeking over an entire stores worth of data into a different store.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to