You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Josh Elser <el...@apache.org> on 2018/09/18 18:25:16 UTC
Re: Slow query on Secondary Index
Your question is suitable for the user@phoenix mailing list. Please do
not cross post questions to multiple lists.
On 9/18/18 10:57 AM, Vishwajeet Rana wrote:
> Hi,
>
> I have two salted global secondary indexes (A and B) on a table with row
> key (primary key) as the covered column. For both of them, the read
> single row latency is fine with less QPS, but as QPS increases from the
> client side, query on one of the indexes (A) becomes 10x slow, while the
> other (B) remain unaffected. Also, I have noticed that the transmitted
> bytes in the hbase region server increase drastically while querying on
> index A. Can you explain this behaviour?
>
> Thanks,
> Vishwajeet
Re: Slow query on Secondary Index
Posted by Ankit Singhal <an...@gmail.com>.
To better understand the problem, we may require your DDL for both the
indexes and data table and also the query using your secondary index
And, please try some tuning documented on
https://phoenix.apache.org/secondary_indexing.html and see if it helps.
On Tue, Sep 18, 2018 at 11:25 AM Josh Elser <el...@apache.org> wrote:
> Your question is suitable for the user@phoenix mailing list. Please do
> not cross post questions to multiple lists.
>
> On 9/18/18 10:57 AM, Vishwajeet Rana wrote:
> > Hi,
> >
> > I have two salted global secondary indexes (A and B) on a table with row
> > key (primary key) as the covered column. For both of them, the read
> > single row latency is fine with less QPS, but as QPS increases from the
> > client side, query on one of the indexes (A) becomes 10x slow, while the
> > other (B) remain unaffected. Also, I have noticed that the transmitted
> > bytes in the hbase region server increase drastically while querying on
> > index A. Can you explain this behaviour?
> >
> > Thanks,
> > Vishwajeet
>