Re: What is substituting keys_cached column family argument

2012-12-06 Thread Edward Capriolo
Rob, Have you played with this I have many CFs, some big some small some using large caches some using small ones, some that take many requests, some that take a few. Over time I have cooked up a strategy for how to share the cache love, even thought it may not be the "best" solution to the probl

Re: What is substituting keys_cached column family argument

2012-12-05 Thread Rob Coli
On Wed, Dec 5, 2012 at 9:06 AM, Roman Yankin wrote: > In Cassandra v 0.7 there was a column family property called keys_cached, now > it's gone and I'm struggling to understand which of the below properties it's > now substituted (if substituted at all)? Key and row caches are global in modern

What is substituting keys_cached column family argument

2012-12-05 Thread Roman Yankin
Problem: If I do something like this in Cassandra 1.1.7 I would get IAE: create column family travelers with keys_cached=100 and column_metadata=[{column_name: t, validation_class: UTF8Type, index_type: KEYS}]; java.lang.IllegalArgumentException: No enum const class org.apache.cassandra.cli