Re: Data migration from mysql to cassandra

2010-05-19 Thread Beier Cai
to > generate incrementing IDs either by continuing to use mysql solely for > that purpose, or by using another system like redis for that). > > On Mon, May 17, 2010 at 10:48 PM, Beier Cai wrote: > > I'm currently moving my existing mysql database to cassandra. One > partic

Data migration from mysql to cassandra

2010-05-17 Thread Beier Cai
I'm currently moving my existing mysql database to cassandra. One particular problem I have is to migrate all those integer auto-increment ids to cassandra's code generated keys (like UUID). One way I can do is to dump all the existing records into Cassandra and start with UUID for new records, but

Re: Increment and Decrement operation

2010-05-13 Thread Beier Cai
Thanks for the info, hopefully it will make it to the next version Beier, Cai beier...@gmail.com On Thu, May 13, 2010 at 2:28 PM, Paul Prescod wrote: > No, but there is ongoing work on it: > > * https://issues.apache.org/jira/browse/CASSANDRA-580 > > * http://www.formsprin

Increment and Decrement operation

2010-05-13 Thread Beier Cai
Is it possible to increment/decrement a column value directly without reading it first and then do the operation on client side? In mysql you can do "UPDATE mytable SET counter=counter+1", any equivalent in Cassandra? Beier, Cai beier...@gmail.com