Re: CQL and counters

2013-11-22 Thread Laing, Michael
Here's another example that may help: -- put this in AND run using 'cqlsh -f DROP KEYSPACE bryce_test; CREATE KEYSPACE bryce_test WITH replication = { 'class': 'SimpleStrategy', 'replication_factor' : 1 }; USE bryce_test; CREATE TABLE samples ( name text, bucket text, cou

Re: CQL and counters

2013-11-22 Thread Tyler Hobbs
Something like this would work: CREATE TABLE foo ( interface text, property text, bucket timestamp, count counter, PRIMARY KEY ((interface, property), bucket) ) interface is 'NIC1' and property is 'Total' or 'Count'. To query over a date range, you'd run a query like: SELECT

CQL and counters

2013-11-22 Thread Bryce Godfrey
I'm looking for some guidance on how to model some stat tracking over time, bucketed to some type of interval (15 min, hour, etc). As an example, let's say I would like to track network traffic throughput and bucket it to 15 minute intervals. In our old model, using thrift I would create a col

Large system.Migration CF after upgrade to 1.1

2013-11-22 Thread Andrew Cooper
We have noticed that a cluster we upgraded to 1.1.6 (from 1.0.*) still has a single large (~4GB) row in system.Migrations on each cluster node. We are also seeing heap pressure / Full GC issues when we do schema updates to this cluster. If the two are related, is it possible to somehow remove/

Re: gossip marking all nodes as down when decommissioning one node.

2013-11-22 Thread Ryan Fowler
You might be running into CASSANDRA-6244. That ended up being our problem anyway. On Thu, Nov 21, 2013 at 9:37 PM, Robert Coli wrote: > On Thu, Nov 21, 2013 at 6:17 PM, Alain RODRIGUEZ wrote: > >> Oh ! Thanks. >> >> Is there any workaround to avoid the problem while waiting for update ? >> > > P

Re: Migration Cassandra 2.0 to Cassandra 2.0.2

2013-11-22 Thread Bonnet Jonathan .
Thanks, it works; don't know why first times i upload the package the Apache_Cassandra_2.0.2.jar miss. Now it's here. Thanks again.