incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravikumar Govindarajan <ravikumar.govindara...@gmail.com>
Subject Last Modified Time Series in cassandra
Date Fri, 21 Dec 2012 14:40:22 GMT
How do we model a timeseries data in cassandra for last modified time?

-- ExampleCF
       | -- SomeKey = Key
            | -- TimeUUID = Column-Name
            | -- PKID = Column-Value

-- ExampleReverseIndexCF
       | -- SomeKey = Key
            | -- PKID = Column-Name
            | -- TimeUUID = Column-Value

To correctly reflect "last-modified-time", I need to read existing
timeuuid, delete it and add incoming timeuuid

Are there alternatives to the above approach, because it looks a bit
heavy-weight

--
Ravi

Mime
View raw message