incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <>
Subject Re: Model to store biggest score
Date Wed, 17 Mar 2010 16:52:26 GMT
On Wed, Mar 17, 2010 at 11:48 AM, Richard Grossman <>wrote:

> But in the case of simple column family I've the same problem when I update
> the score of 1 user then I need to remove his old score too. For example
> here the user uid5 was at 130 now he is at 140 because I add the random
> number cassandra will keep all the score evolution.

You can maintain another index mapping users to the values.  Depending on
your use case though, if this is time-based, you can name the rows by the
date and just create new rows as time goes on.


View raw message