Re: Timeseries with TTL

2014-04-06 Thread Vicent Llongo
LeveledCompactionStrategy in following > article: Leveled compaction in > Cassandra<http://www.datastax.com/dev/blog/leveled-compaction-in-apache-cassandra>. > > > There are 2 types of compaction: minor and major, which kind of compaction > do you see and how come to conclusion

Timeseries with TTL

2014-04-06 Thread Vicent Llongo
Hi there, I have this table where I'm inserting timeseries values with a TTL of 86400*7 (1week): CREATE TABLE metrics_5min ( object_id varchar, metric varchar, ts timestamp, val double, PRIMARY KEY ((object_id, metric), ts) ) WITH gc_grace_seconds = 86400 AND compaction = {'class': 'Lev