Re: How to initialize the Cassandra

2010-05-06 Thread Vick Khera
On Thu, May 6, 2010 at 10:39 AM, Dop Sun wrote: > Basically, my question is whether there is a tool, like json2sstable, which > can import some data in a format which can be easily manual created. I don't > know the experience of other people, but what I'm currently doing is writing > a small appl

Re: How to initialize the Cassandra

2010-05-06 Thread Jonathan Ellis
nt: Thursday, May 06, 2010 10:25 PM > To: user@cassandra.apache.org > Subject: Re: How to initialize the Cassandra > > The simplest way is to just use thrift batch_mutate. > > If Cassandra CPU is your bottleneck then using the binary load method > from StorageProxy can help (

RE: How to initialize the Cassandra

2010-05-06 Thread Dop Sun
y doing is writing a small application to write the data in. Dop -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Thursday, May 06, 2010 10:25 PM To: user@cassandra.apache.org Subject: Re: How to initialize the Cassandra The simplest way is to just use thrift batch_m

Re: How to initialize the Cassandra

2010-05-06 Thread Jonathan Ellis
The simplest way is to just use thrift batch_mutate. If Cassandra CPU is your bottleneck then using the binary load method from StorageProxy can help (see contrib/bmt_example). If Casssandra disk or network is your bottleneck then binary load won't really help. On Thu, May 6, 2010 at 7:51 AM, Do

How to initialize the Cassandra

2010-05-06 Thread Dop Sun
Hi, I just discovered that the json file exported by sstable2json contains more than the data itself, like deletedAt values. I'm thinking whether there is a tool can import some initial data? When we are doing the typical RDBMS system, this is how we are doing: 1) Define the sche