incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: performance for different kinds of row keys
Date Wed, 26 Sep 2012 01:55:44 GMT
> Which one will be faster to insert?
In general Composite types have the same performance; the extra work is insignificant. 
(Assuming you don't create a type with 100 components.)
   
> And which one will be faster to read by incremental id?
If you have to specify the full key to get a row by row key. So this question only applied
to the non composite key. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 25/09/2012, at 9:34 AM, Marcelo Elias Del Valle <mvallebr@gmail.com> wrote:

> Suppose two cases:
> I have a Cassandra column family with non-composite row keys = incremental id
> I have a Cassandra column family with a composite row keys = incremental id 1 : group
id
>      Which one will be faster to insert? And which one will be faster to read by incremental
id?
> 
> Best regards,
> -- 
> Marcelo Elias Del Valle
> http://mvalle.com - @mvallebr


Mime
View raw message