You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:18:56 UTC

[jira] [Resolved] (PHOENIX-454) Run LIMIT queries in parallel

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

Gabriel Reid resolved PHOENIX-454.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Run LIMIT queries in parallel
> -----------------------------
>
>                 Key: PHOENIX-454
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-454
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: tonyhuang
>
> Currently when a query has a limit with no order by, we run it serially. When there's a selective query, performance will be bad.  Instead we should run it in parallel, pushing the same filter we currently do for the scan that runs serially to limit the output for each region. Then, on the client, we can put a LimitingResultIterator as the last iterator so that we only see N results max.



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