tention.
>> This is how you generate a Time-UUID in
>> Java: http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java
>>
>> On Wed, Mar 24, 2010 at 9:57 PM, Jaepil Jeong wrote:
>>>
>>> Hi there,
>>>
>>> I just started research a
On Thu, Mar 25, 2010 at 9:20 AM, Benjamin Black wrote:
> Cassandra is not being used to generate the Twitter identifiers.
> Twitter, like most places using Cassandra, has more than one database
> system in production.
>
> UUIDs are not at risk of conflicts with billions of rows.
Exactly: UUIDs we
here,
>>>
>>> I just started research about Cassandra to replace MySQL, and I have a
>>> question: How can I replace the "auto increament" attribute in MySQL
>>> with Cassandra? If I can't, how can I generate an ID which is globally
>>&g
>
> This is how you generate a Time-UUID in Java:
> http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java
>
>
> On Wed, Mar 24, 2010 at 9:57 PM, Jaepil Jeong wrote:
>
>> Hi there,
>>
>> I just started research about Cassandra to replace MySQL,
is how you generate a Time-UUID in Java:
http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java
On Wed, Mar 24, 2010 at 9:57 PM, Jaepil Jeong wrote:
> Hi there,
>
> I just started research about Cassandra to replace MySQL, and I have a
> question: How can I repla
t;
>>
>> n: {column1: "value 1", column2: "value 2", ... , columnN: "value
>> n"},
>>
>> n-1: {column1: "value 1", column2: "value 2", ... , columnN: "value
>> n"},
>>
>>
ue 2", ... , columnN: "value n"},
>
> n-1: {column1: "value 1", column2: "value 2", ... , columnN: "value
> n"},
>
> ...
>
> 2: {column1: "value 1", column2: "value 2", ... , columnN: "valu
gt; n"},
>
> ...
>
> 2: {column1: "value 1", column2: "value 2", ... , columnN: "value n"},
> 1: {column1: "value 1", column2: "value 2", ... , columnN: "value n"},
> },
>
> }
>
> The super co
lue 1", column2: "value 2", ... , columnN: "value n"},
},
}
The super columns that represent the autoincrement value are the ones named
as: n, n-1, ... , 2, 1.
Hope it helps!
Jesus.
2010/3/24 Sylvain Lebresne
> > How can I replace the "auto increament&qu
t;>
>> I just started research about Cassandra to replace MySQL, and I have a
>> question: How can I replace the "auto increament" attribute in MySQL
>> with Cassandra? If I can't, how can I generate an ID which is globally
>> unique for each of columns?
>>
>> Thanks,
>>
>> Sent from my iPhone
>>
>
> How can I replace the "auto increament" attribute in MySQL
> with Cassandra?
You can't. Not easily at least.
> If I can't, how can I generate an ID which is globally
> unique for each of columns?
Check UUIDs:
http://en.wikipedia.org/wiki/Universally_Unique_
http://en.wikipedia.org/wiki/Uuid
?
On Wed, Mar 24, 2010 at 11:57 AM, Jaepil Jeong wrote:
> Hi there,
>
> I just started research about Cassandra to replace MySQL, and I have a
> question: How can I replace the "auto increament" attribute in MySQL
> with Cassandra? If I
Hi there,
I just started research about Cassandra to replace MySQL, and I have a
question: How can I replace the "auto increament" attribute in MySQL
with Cassandra? If I can't, how can I generate an ID which is globally
unique for each of columns?
Thanks,
Sent from my iPhone
13 matches
Mail list logo