Can we do a more precise query in Cassandra ?

2010-03-25 Thread
Hi All: I am thinking a more precise query in Cassandra: Could we hava a query API like this : List> get_slice_condition(String keyspace, List keys, ColumnParent column_parent, Map queryConditions, int consistency_level) So we could use this API to query more precise data like age column's valu

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-22 Thread
The replication factor is One, The consistency level also is One. 在 2010年3月23日 上午10:21,Benjamin Black 写道: > Maybe I missed this: what replication factor and consistency level are > you using? > > 2010/3/21 郭鹏 : > > Thx, I will try it in the multi-thread mode. > > > &g

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-21 Thread
Thx, I will try it in the multi-thread mode. What's the best practice in the production env? 在 2010年3月21日 下午12:04,Jonathan Ellis 写道: > If you're benchmarking throughput, then you absolutely have to be > multithreaded. > > 2010/3/20 郭鹏 : > > You mean I waste lots o

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-20 Thread
's not spending sending another request > > 2010/3/20 郭鹏 : > > Good ideal, I will try it with client multithread write. > > > > But I don't understand the meaning of "d the latency in cluster mode > hurts > > that much more." > >

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-20 Thread
Good ideal, I will try it with client multithread write. But I don't understand the meaning of "d the latency in cluster mode hurts that much more." Thx. 2010/3/21 Jonathan Ellis > 2010/3/20 郭鹏 : > > :) > > > > I just want to know why the write speed is

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-20 Thread
ar 20, 2010 at 8:44 AM, 郭鹏 wrote: > > Hi: > > > > I'm doing a research on move our data from MySQL to Cassandra 0.5.1 > > > > At first, I am doing it in the Windows XP, and read the record from MySQL > > then insert it into Cassandra. The write speed i

why Cassandra 0.5.1 write speed is very slow

2010-03-20 Thread
Hi: I'm doing a research on move our data from MySQL to Cassandra 0.5.1 At first, I am doing it in the Windows XP, and read the record from MySQL then insert it into Cassandra. The write speed is ok, about 18,000 records per second. But when I changed it into the 5 Linux Red Hat 5 Server, doing