phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Gao <>
Subject Re: Query by region splits
Date Mon, 18 Apr 2016 21:18:29 GMT
Hi James,

Thanks for the quick reply. It is helpful but not sure it can solve the
issue we have. Let me state use case in another way to make it more

Say Table A has 10 regions spread across 10 HBase nodes, in addition I have
10 data processor machines (not the same as the hbase cluster) that can
each independently issue a query to Phoenix to retrieve part of the table.

Ideally I am looking for something like:

SELECT col1,col2,... FROM TABLE_A WHERE (i.e. region=1,2,3,4...)

So each processor machine can issue a region-specific query and retrieve a
non-overlapping piece of the table projection. I am not sure how such
Phoenix query can be constructed.

Hope this clarifies the question.


On Mon, Apr 18, 2016 at 2:09 PM, James Taylor <>

> Phoenix already does this (and to a finer, configurable granularity). See
> Thanks,
> James
> On Mon, Apr 18, 2016 at 2:08 PM, Li Gao <> wrote:
>> Hi,
>> In Phoenix is it possible to query the data by region splits? i.e. if
>> Table A has 10 regions on the cluster, how I can issue 10 concurrent
>> queries to Table A so that each query covers exactly 1 region for the
>> table? This is helpful for us to split the queries across multiple
>> processor machines and help us build MPP query connector for Phoenix.
>> Any hints would be appreciated.
>> Thanks,
>> Li

View raw message