Re: Once again, super columns or composites?

2012-09-27 Thread Edward Kibardin
Oh... Sylvain, thanks a lot for such a complete answer. Yeah, I understand my mistake in suggestions regarding composites. It seems, composites are pretty much an advanced version of key manual joining into a string column name: : Thanks a lot! Ed On Thu, Sep 27, 2012 at 2:02 PM, Sylvain Lebresn

Re: Once again, super columns or composites?

2012-09-27 Thread Edward Kibardin
mn 'names'. > > -- > Sylvain > > On Wed, Sep 26, 2012 at 11:52 PM, Edward Kibardin > wrote: > > Hi Community, > > > > I know, I know... every one is claiming Super Columns are not good enough > > and it dangerous to use them now. > > But from

Re: Cassandra Counters

2012-09-25 Thread Edward Kibardin
@Sylvain and @Rohit: Thanks for your answers. On Tue, Sep 25, 2012 at 2:27 PM, Sylvain Lebresne wrote: > So general question, should I rely on Counters if I want 100% accuracy? >> > > No. > > Even not considering potential bugs, counters being not idempotent, if > you get a TimeoutException dur

Re: Cassandra Counters

2012-09-25 Thread Edward Kibardin
I've recently noticed several threads about Cassandra Counters inconsistencies and started seriously think about possible workarounds like store realtime counters in Redis and dump them daily to Cassandra. So general question, should I rely on Counters if I want 100% accuracy? Thanks, Ed On Tue,

Re: Code example for CompositeType.Builder and SSTableSimpleUnsortedWriter

2012-09-24 Thread Edward Kibardin
Hey... >From my understanding, there are several ways to use composites with SSTableSimpleUnsortedWriter but which is the best? And as usual, code examples are welcome ;) Thanks in advance! On Thu, Sep 20, 2012 at 11:23 PM, Edward Kibardin wrote: > Hi Everyone, > > I'm wri

Code example for CompositeType.Builder and SSTableSimpleUnsortedWriter

2012-09-20 Thread Edward Kibardin
Hi Everyone, I'm writing a conversion tool from CSV files to SSTable using SSTableSimpleUnsortedWriter and unable to find a good example of using CompositeType.Builder with SSTableSimpleUnsortedWriter. It also will be great if someone had an sample code for insert/update only a single value in com

Re: Why Cassandra secondary indexes are so slow on just 350k rows?

2012-08-30 Thread Edward Kibardin
message and any copies. >>> >>> >>> >>> 2012/8/29 Dave Brosius >>> >>>> If i understand you correctly, you are only ever querying for the rows >>>> where is_exported = false, and turning them into trues. What this means is >>