Re: mysterious 'column1' in cql describe

2013-08-30 Thread Sylvain Lebresne
> Why does the explicit definition of columns in a column family > significantly improve performance and key cache hit ratio (the last one > being almost zero when there are no explicit column definitions)? > It doesn't, not in itself at least. So something else has changed or something is wrong i

Re: mysterious 'column1' in cql describe

2013-08-30 Thread Alexander Shutyaev
Thanks, Sylvain! I'll read it most thoroughly but after a quick glance I wish to repeat my another (implied) question that I believe will not be answered in these articles. Why does the explicit definition of columns in a column family significantly improve performance and key cache hit ratio (the

Re: mysterious 'column1' in cql describe

2013-08-30 Thread Sylvain Lebresne
The short story is that you're probably not up to date on how CQL and thrift table definition relate to one another, and that may not be exactly how you think it does. If you haven't done so, I'd suggest the reading of http://www.datastax.com/dev/blog/does-cql-support-dynamic-columns-wide-rows(shou

mysterious 'column1' in cql describe

2013-08-30 Thread Alexander Shutyaev
Hi all! We have encountered the following problem. We create our column families via hector like this: ColumnFamilyDefinition cfdef = HFactory.createColumnFamilyDefinition(* "mykeyspace"*, *"mycf"*); cfdef.setColumnType(ColumnType.*STANDARD*); cfdef.setComparatorType(ComparatorType.*UTF8TYPE*); c