Re: Row caches

2012-09-21 Thread Tyler Hobbs
The cache metrics for Cassandra 1.1 are currently broken in OpsCenter, but it's something we should be able to fix soon. You can also use nodetool cfstats to check the cache hit rates. On Fri, Sep 21, 2012 at 5:34 AM, rohit reddy wrote: > Hi, > > I have enabled the row cache

Re: Row caches

2012-09-21 Thread rohit reddy
Hi, I have enabled the row caches by the using nodetool setcachecapacity . But when i look at the cfstats.. i'm not getting any cache stats like Row cache capacity: Row cache size: These properties are not reflected nor i'm getting any cache hit rates in OPS center. Do i need

Re: Row caches

2012-09-20 Thread rohit reddy
Got it. Thanks for the replies On Fri, Sep 21, 2012 at 6:30 AM, aaron morton wrote: > Set the caching attribute for the CF. It defaults to keys_only, other > values are both or rows_only. > > See http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 > > Cheers > > - > Aaron Mo

Re: Row caches

2012-09-20 Thread aaron morton
Set the caching attribute for the CF. It defaults to keys_only, other values are both or rows_only. See http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 19/09/2012, at 1:34 PM, Jaso

Re: Row caches

2012-09-18 Thread Jason Wee
which version is that? in version, 1.1.2 , nodetool does take the column family. setcachecapacity - Set the key and row cache capacities of a given column family On Wed, Sep 19, 2012 at 2:15 AM, rohit reddy wrote: > Hi, > > Is it possible to enable row cache per column family after the colum

Re: Help with Cassandra Row Caches

2011-11-12 Thread Peter Schuller
> We set row cache too high, 1 or so and now all our 6 nodes fail > with OOM. I believe that high row cache causes OOMs. If you get into a fallen-and-cant-get-up scenario like this, I suggest a rolling restart of nodes, and on each node: (1) shut it down (2) removed saved caches (3) start it

Re: Help with Cassandra Row Caches

2011-11-12 Thread Oleg Tsvinev
The problem was fixed by _decreasing_ heap size and applying changes on the least loaded node. Tyler, where saved caches are stored? /var/lib/cassandra/saved_caches? Would it help relieving heap load? On Fri, Nov 11, 2011 at 6:29 PM, Tyler Hobbs wrote: > You could also delete any saved caches, wh

Re: Help with Cassandra Row Caches

2011-11-11 Thread Tyler Hobbs
You could also delete any saved caches, which might give you some more breathing room. On Fri, Nov 11, 2011 at 7:53 PM, Mohit Anchlia wrote: > Can you temporarily increase the size of Heap and try? > > On Fri, Nov 11, 2011 at 5:21 PM, Oleg Tsvinev > wrote: > > Hi everybody, > > > > We set row ca

Re: Help with Cassandra Row Caches

2011-11-11 Thread Mohit Anchlia
Can you temporarily increase the size of Heap and try? On Fri, Nov 11, 2011 at 5:21 PM, Oleg Tsvinev wrote: > Hi everybody, > > We set row cache too high, 1 or so and now all our 6 nodes fail > with OOM. I believe that high row cache causes OOMs. > > Now, we trying to change row cache sizes u

Help with Cassandra Row Caches

2011-11-11 Thread Oleg Tsvinev
Hi everybody, We set row cache too high, 1 or so and now all our 6 nodes fail with OOM. I believe that high row cache causes OOMs. Now, we trying to change row cache sizes using cassandra-cli update column family command but Cassandra nodes keep dying. Any help is appreciated, it's a product