You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2015/11/05 17:58:27 UTC

[jira] [Resolved] (PHOENIX-2262) Improve collation for salted table

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

Maryann Xue resolved PHOENIX-2262.
----------------------------------
    Resolution: Fixed

> Improve collation for salted table
> ----------------------------------
>
>                 Key: PHOENIX-2262
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2262
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>              Labels: calcite
>
> Salting tables have a leading SALT column so it's collation is "salted distribution" + "pk ordering". We have to set the "forceRowKeyOrder" flag to true to guarantee PK order in a scan but meanwhile forcing row key order could be a big performance penalty.
> The idea is to use "forceRowKeyOrder" whenever the PK order is useful (e.g. to avoid sorting, to use stream aggregate, etc.), but disable this flag when the order is not needed.



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