You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/04/22 02:26:59 UTC

[jira] [Commented] (PHOENIX-1906) With large number of guideposts, queries that iterate over a small range gets starved when running concurrently with larger queries

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

James Taylor commented on PHOENIX-1906:
---------------------------------------

[~ram_krish] - this is *exactly* the scenario that gets fixed with a round robin executor.

> With large number of guideposts, queries that iterate over a small range gets starved when running concurrently with larger queries
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1906
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1906
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>
> Consider the scenario with a single region server. Table has 500 guide posts (data is large enough that it won't fit either into HBase block or OS page cache so it gets blocked on disk I/O during scans) and running the following 2 queries concurrently with and without stats enabled:
> {code}select count(*) from table{code}
> {code}select * from table limit 10{code}
> With stats *disabled*, average time for these two queries is 100sec and 100ms respectively. However with stats long running count aggregate query time drops to 8 second but limit query time increases to 3 seconds. Degradation in limit query time is even more evident when concurrency level is further increased.
> [~jamestaylor]



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