Which files should I backup for data restoring/data migration?

2015-01-18 Thread
Hi, I want to backup the files needed for data restoring/data migration. There are several directories: /var/lib/cassandra/ - commitlog/ - data/ - mytable/ - system/ - system_traces/

How is the underlying CQL native binary protocol implemented?

2014-12-22 Thread
Hi, I am curious about the underlying implementation of the CQL native binary protocol. It is also a RPC protocol, right? But how can it outperform thrift as they are both RPC protocol? The Cassandra driver has already implemented this native binary protocol, could anyone tell me which part of the

What does the -node argument mean in Cassandra stress tool?

2014-12-14 Thread
Hi, I am using Cassandra stress tool provided in the distribution 2.1.2. I wonder what does the "-node" argument mean. Dose it specify the cluster server node or stress client node? In the document, it says "Splitting up a load over multiple cassandra-stress instances on different nodes: This is

Re: Could ring cache really improve performance in Cassandra?

2014-12-08 Thread
stributed cluster with the native protocol) - it eliminates the effort to > parse CQL statement again and again. > > > Am 08.12.2014 um 09:26 schrieb 孔嘉林 : > > Thanks Jonathan, actually I'm wondering how CQL is implemented underlying, > a different RPC mechanism? Why it is faster

Re: Cassandra Doesn't Get Linear Performance Increment in Stress Test on Amazon EC2

2014-12-08 Thread
Cassandra (and not your > code) > http://www.datastax.com/dev/blog/improved-cassandra-2-1-stress-tool-benchmark-any-schema > > === > Chris Lohfink > > On Sun, Dec 7, 2014 at 9:48 PM, 孔嘉林 wrote: > >> Hi Eric, >> Thank you very much for your reply! >> Do you

Re: Could ring cache really improve performance in Cassandra?

2014-12-08 Thread
d be helpful if you sent out a link to the repo, since currently we > have no way of knowing if you've got a client side bug (data model or code) > that's limiting your performance. > > > On Sun Dec 07 2014 at 7:55:16 PM 孔嘉林 wrote: > >> I find under the src/client fold

Re: Could ring cache really improve performance in Cassandra?

2014-12-07 Thread
I find under the src/client folder of Cassandra 2.1.0 source code, there is a *RingCache.java* file. It uses a thrift client calling the* describe_ring()* API to get the token range of each Cassandra node. It is used on the client side. The client can use it combined with the partitioner to get the

Re: Cassandra Doesn't Get Linear Performance Increment in Stress Test on Amazon EC2

2014-12-07 Thread
Hi Eric, Thank you very much for your reply! Do you mean that I should clear my table after each run? Indeed, I can see several times of compaction during my test, but could only a few times compaction affect the performance that much? Also, I can see from the OpsCenter some ParNew GC happen but no