Re: Counter Deletion in a window

2014-11-18 Thread Tyler Hobbs
On Tue, Nov 18, 2014 at 8:38 AM, Ahmy Yulrizka wrote: > > > 1. Is this a proper use of a counter > It seems reasonable. > 2. would the delete operation has impact on performance ? > Depending on how you query the data, no. If you restrict the query to not cover times where you have deleted t

Counter Deletion in a window

2014-11-18 Thread Ahmy Yulrizka
Hi I'm very new with cassandra and I've created a schema like this CREATE TABLE statistics.stats_count ( id text, metric text, resolution text, time timestamp, value counter, PRIMARY KEY ((id, metric, resolution), time) ) Below is an example of data. This data basically j