Re: Re : get_range_slices result

2011-06-30 Thread Terje Marthinussen
It should of course be noted that how hard it is to load balance depends a lot on your dataset Some datasets load balances reasonably well even when ordered and use of the OPP is not a big problem at all (on the contrary) and in quite a few use cases with current HW, read performance really is

Re : Re : Re : get_range_slices result

2011-06-30 Thread karim abbouh
2011 12h40 Objet : Re: Re : Re : get_range_slices result First thing is you really should upgrade from 0.6, the current release is 0.8.  Info on time uuid's http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java If you are using a higher level client like Hector or Pelops it will

Re: Re : Re : get_range_slices result

2011-06-28 Thread aaron morton
.apache.org" > Envoyé le : Lundi 27 Juin 2011 17h59 > Objet : Re : Re : get_range_slices result > > i used TimeUUIDType as type in storage-conf.xml file > > > and i used it as comparator in my java code, > but in the execution i get exception : > Erreur --java.io.U

Re : Re : get_range_slices result

2011-06-28 Thread karim abbouh
can i have an example for using    TimeUUIDType   as comparator in a client  java code. De : karim abbouh À : "user@cassandra.apache.org" Envoyé le : Lundi 27 Juin 2011 17h59 Objet : Re : Re : get_range_slices result i used TimeUUIDType as type

Re : Re : get_range_slices result

2011-06-27 Thread karim abbouh
@cassandra.apache.org Cc : karim abbouh Envoyé le : Vendredi 24 Juin 2011 11h25 Objet : Re: Re : get_range_slices result You can get the best of both worlds by repeating the key in a column, and creating a secondary index on that column. On Fri, Jun 24, 2011 at 1:16 PM, Sylvain Lebresne wrote: >

Re: Re : get_range_slices result

2011-06-24 Thread David Boxenhorn
You can get the best of both worlds by repeating the key in a column, and creating a secondary index on that column. On Fri, Jun 24, 2011 at 1:16 PM, Sylvain Lebresne wrote: > On Fri, Jun 24, 2011 at 10:21 AM, karim abbouh wrote: >> i want get_range_slices() function returns records sorted(orded

Re: Re : get_range_slices result

2011-06-24 Thread Sylvain Lebresne
On Fri, Jun 24, 2011 at 10:21 AM, karim abbouh wrote: > i want get_range_slices() function returns records sorted(orded)  by the > key(rowId) used during the insertion. > is it possible? You will have to use the OrderPreservingPartitioner. This is no without inconvenience however. See for instanc