incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh S <investt...@gmail.com>
Subject Re: Is LexicalUUID a good option for generating Ids
Date Thu, 29 Sep 2011 21:48:58 GMT
Thanks Yi,

I am using compound rowkeys in other column families which use this Id (UUID
in this case). What I am looking for is unique Ids as a base point and I am
hoping UUID is the best way to go.

regards,
Ramesh



On Thu, Sep 29, 2011 at 4:28 PM, Yi Yang <i@iyyang.com> wrote:

> ** I don't know if I understand correctly that UUIDs are good unless you
> have a specific reading pattern. In the latter case you can develop a better
> compound row key.
>
> Yi
>
> 從我的 BlackBerry(R) 無線裝置
> ------------------------------
> *From: * Ramesh S <investtrco@gmail.com>
> *Date: *Thu, 29 Sep 2011 16:26:05 -0500
> *To: *<user@cassandra.apache.org>
> *ReplyTo: * user@cassandra.apache.org
> *Subject: *Re: Is LexicalUUID a good option for generating Ids
>
> Thanks Aaron.
> Appreciate your valuable input/advice.
>
> regards,
> Ramesh
>
> On Thu, Sep 29, 2011 at 4:21 PM, aaron morton <aaron@thelastpickle.com>wrote:
>
>> UUID will be fine, LexicalUUID should be used for version 2,3,4 and 5
>> UUID's. TimeUUID for version 1.
>>
>> A
>>
>> -----------------
>> Aaron Morton
>> Freelance Cassandra Developer
>> @aaronmorton
>> http://www.thelastpickle.com
>>
>> On 30/09/2011, at 5:48 AM, Ramesh S wrote:
>>
>> > We have to assign Id for each item in our database. Item is linked to
>> geo location and hence would need hundreds of millions of Ids.
>> > So is LexicalUUID a good option ?
>> >
>> > regards,
>> > Ramesh
>>
>>
>

Mime
View raw message