Preventing an update of a CF row

2010-10-15 Thread kannan chandrasekaran
Hi All, I have a query regarding the insert operation. The insert operation by default inserts an new row or updates an existing row. Is it possible to prevent an update but allow only inserts automatically ( especially when multiple clients are writing to cassandra)? I was wondering if

Heap Settings suggestions

2010-10-07 Thread kannan chandrasekaran
From the Cassandra documentation @ riptano I see the following recommendation for Heap size setting MemtableThroughputInMB * 3 * (number of ColumnFamilies) + 1G + (size of internal caches) What if there is more than one keyspace in the system ? Assuming each keyspace has the same number of

Re: Heap Settings suggestions

2010-10-07 Thread kannan chandrasekaran
Good point.. Thanks to both of you for the replies. Kannan From: Matthew Dennis mden...@riptano.com To: user@cassandra.apache.org Sent: Thu, October 7, 2010 4:59:28 PM Subject: Re: Heap Settings suggestions Keep in mind that .7 and on will have per-CF

Re: Cassandra Cache Mbean values; bytes or number of elements ? and row count

2010-09-19 Thread kannan chandrasekaran
Subject: Re: Cassandra Cache Mbean values; bytes or number of elements ? elements. it gets the capacity from your configuration setting. cassandra knows how many rows you have, and you told it to cache all of them, so that's what it set capacity to. On Fri, Sep 17, 2010 at 8:58 PM, kannan

Cassandra Cache Mbean values; bytes or number of elements ?

2010-09-17 Thread kannan chandrasekaran
I am using 0.6.5 and my keycache for the CF is set as 100% ... What do the values in the Mbean interfaces indicate ? bytes or number of elements ? Specifically, these are the numbers that I observe for one of the column family... capacity = 36826888 (if this is number of elements, how does

Re: Couple of cache related questions

2010-09-14 Thread kannan chandrasekaran
Thanks a lot Jonathan !!! Kannan From: Jonathan Ellis jbel...@gmail.com To: user@cassandra.apache.org Sent: Mon, September 13, 2010 4:47:05 PM Subject: Re: Couple of cache related questions On Sun, Sep 12, 2010 at 6:10 PM, kannan chandrasekaran ckanna

Re: How to drop a keyspace in 0.6.5?

2010-09-12 Thread kannan chandrasekaran
Thank you for the clarification...very helpful Kannan From: Rob Coli rc...@digg.com To: user@cassandra.apache.org Sent: Fri, September 10, 2010 12:55:14 PM Subject: Re: How to drop a keyspace in 0.6.5? On 9/10/10 10:10 AM, kannan chandrasekaran wrote: Thank

Re: How to drop a keyspace in 0.6.5?

2010-09-10 Thread kannan chandrasekaran
the data files), you drop KS the same way. On Thu, Sep 9, 2010 at 10:31 PM, kannan chandrasekaran ckanna...@yahoo.com wrote: Hi All, I understand that how to drop the column family from the a node using http://wiki.apache.org/cassandra/FAQ#modify_cf_config . How can I drop an entire Keyspace

Re: Few questions regarding cassandra deployment on windows

2010-09-09 Thread kannan chandrasekaran
Thanks for the replies My comments in Bold... Kannan From: Gary Dusbabek gdusba...@gmail.com To: user@cassandra.apache.org Sent: Thu, September 9, 2010 5:43:31 AM Subject: Re: Few questions regarding cassandra deployment on windows On Tue, Sep 7, 2010 at 17:42, kannan chandrasekaran ckanna

How to drop a keyspace in 0.6.5?

2010-09-09 Thread kannan chandrasekaran
Hi All, I understand that how to drop the column family from the a node using http://wiki.apache.org/cassandra/FAQ#modify_cf_config . How can I drop an entire Keyspace ? If I drop all the CF's in the Keyspace will the keyspace be automatically dropped ? Thanks Kannan

Re: Few questions regarding cassandra deployment on windows

2010-09-08 Thread kannan chandrasekaran
is yes, he did it, so ... From: kannan chandrasekaran Sent: Wednesday, September 08, 2010 1:20 AM To: user@cassandra.apache.org Subject: Re: Few questions regarding cassandra deployment on windows Can you please elaborate on why you think Cassandra would not be suitable for this ? Main

Few questions regarding cassandra deployment on windows

2010-09-07 Thread kannan chandrasekaran
Hi All, We are currently considering Cassandra for our application. Platform: * a single-node cluster. * windows '08 * 64-bit jvm For the sake of brevity let, Cassandra service = a single node cassandra server running as an embedded service inside a JVM My use cases: 1) Start with a

Re: Few questions regarding cassandra deployment on windows

2010-09-07 Thread kannan chandrasekaran
: Tue, September 7, 2010 4:38:41 PM Subject: Re: Few questions regarding cassandra deployment on windows This does not sound like a good application for Cassandra at all. Why are you using it? On Tue, Sep 7, 2010 at 3:42 PM, kannan chandrasekaran ckanna...@yahoo.com wrote: Hi All, We are currently