phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maryann Xue (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-2262) Improve collation for salted table
Date Thu, 05 Nov 2015 16:58:27 GMT

     [ 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)

Mime
View raw message