cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <>
Subject Query over secondary indexes
Date Fri, 05 Oct 2012 09:04:36 GMT
I have a column family "User" which is having a indexed column "user_name".
My schema is having around 0.1 million records only and user_name is
duplicated  across all rows.

Now when i am trying to retrieve it as:

get User where user_name = 'Vivek', it is taking ages to retrieve that
data. Is there anything i am doing wrong?

Also, i tried get_indexed_slices via Thrift API by setting
IndexClause.setCount(1), still  no luck, it got hang and not even returning
a single result. I believe 0.1 million is not a huge amount of data.

Cassandra version : 1.1.2

Any idea?


View raw message