You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mujtaba Chohan (JIRA)" <ji...@apache.org> on 2017/01/11 23:29:16 UTC

[jira] [Updated] (PHOENIX-3591) Group by is slower for immutable encoded table

     [ https://issues.apache.org/jira/browse/PHOENIX-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mujtaba Chohan updated PHOENIX-3591:
------------------------------------
    Description: 
{noformat}
 select /*+ SERIAL NO_CACHE*/ c0,sum(k1) from $T group by c0
{noformat}

This is >2X slower when compared to non-encoded table. There are 100 distinct values in c0 column.

For data and schema see data generator script in https://issues.apache.org/jira/browse/PHOENIX-3560

  was:
{noformat}
 select /*+ SERIAL NO_CACHE*/ c0,sum(k1) from $T group by c0
{noformat}

There are 100 distinct values in c0 column.

For data and schema see data generator script in https://issues.apache.org/jira/browse/PHOENIX-3560


> Group by is slower for immutable encoded table
> ----------------------------------------------
>
>                 Key: PHOENIX-3591
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3591
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Mujtaba Chohan
>
> {noformat}
>  select /*+ SERIAL NO_CACHE*/ c0,sum(k1) from $T group by c0
> {noformat}
> This is >2X slower when compared to non-encoded table. There are 100 distinct values in c0 column.
> For data and schema see data generator script in https://issues.apache.org/jira/browse/PHOENIX-3560



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)