incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate McCall <zznat...@gmail.com>
Subject Re: IllegalArgumentException on query with AbstractCompositeType
Date Mon, 15 Jul 2013 19:34:56 GMT
Couple of questions about the test setup:
- are you running the tests in parallel (via threadCount in surefire
or failsafe for example?)
- is the instance of cassandra per-class for per jvm? (or is fork=true?)


On Sun, Jul 14, 2013 at 5:52 PM, Tristan Seligmann
<mithrandi@mithrandi.net> wrote:
> On Mon, Jul 15, 2013 at 12:26 AM, aaron morton <aaron@thelastpickle.com>
> wrote:
>>
>> Aaron Morton can confirm but I think one problem could be that to create
>> an index on a field with small number of possible values is not good.
>>
>> Yes.
>> In cassandra each value in the index becomes a single row in the internal
>> secondary index CF. You will end up with a huge row for all the values with
>> false.
>>
>> And in general, if you want a queue you should use a queue.
>
>
> This would seem to conflict with the advice to only use secondary indexes on
> fields with low cardinality, not high cardinality. I guess low cardinality
> is good, as long as it isn't /too/ low?
> --
> mithrandi, i Ainil en-Balandor, a faer Ambar

Mime
View raw message