Re: keyrange for get_range_slices

2010-06-10 Thread Philip Stanhope
No ... and I personally don't have a problem with this if you think about what is actually going on under the covers. Note, however, that this is an expensive operation and as a result if there are parallel updates to the indexes while you are performing a full keyscan (rowscan) you will potent

Re: Range search on keys not working?

2010-06-09 Thread Philip Stanhope
tire range of > keys, you can do it with a range query, and start and finish will both be "". > Is there any scenario where you would want to do a range query where start > and/or finish do not equal "", if you use random partitioning? > > 2010/6/9 Philip Stanho

Re: Range search on keys not working?

2010-06-09 Thread Philip Stanhope
I feel that there is a significant bit of confusion here. You CAN use start/finish when using get_range_slices with random partitioner. But you can't make any assumptions about what key will be next in the range which is the whole point of "random". If you do know a specific key that you care

Re: Seeds, autobootstrap nodes, and replication factor

2010-06-04 Thread Philip Stanhope
11 PM, Benjamin Black wrote: > On Fri, Jun 4, 2010 at 11:04 AM, Philip Stanhope wrote: >> >> I am contemplating a situation where there may be 2N servers ... but only N >> online at any one time. But, for operational purposes, N+n (where n is 1 or >> 2), N ma

Keyspace with single CF or Keyspace per CF

2010-06-04 Thread Philip Stanhope
This is a data modeling question, not operational like my previous ones today. I have a data model where I'm going to have some 1:1 relationship between a CF1/Key1/Col value and another CF2/Key where the value in CF1/Key1/Col is the CF2/Key. CF1 will grow to have 1B+ keys. CF1 will have 10...N

Re: Seeds, autobootstrap nodes, and replication factor

2010-06-04 Thread Philip Stanhope
Thanks in advance. -phil On Jun 4, 2010, at 1:46 PM, Benjamin Black wrote: > On Fri, Jun 4, 2010 at 10:36 AM, Philip Stanhope wrote: >> >> Here's the scenario: would like R = N where N is the number of nodes. Let's >> say 8. >> >> 1. Create first n

Seeds, autobootstrap nodes, and replication factor

2010-06-04 Thread Philip Stanhope
Here's the scenario: would like R = N where N is the number of nodes. Let's say 8. 1. Create first node, modify storage-conf.xml and change the to be the ip of the node. Change replication factor to 8 for CF of interest. Start the puppy up. 2. Create 2nd node, modify storage-confg.xml and ch

Re: What is K-table ?

2010-06-03 Thread Philip Stanhope
Note the describe_keyspace API method does not exhibit this behavior in 0.6.2 ... seems to be a problem specific to cassandra-cli. -phil On Jun 3, 2010, at 10:18 PM, Jonathan Ellis wrote: > Sounds like a bug in the cli. Maybe it only knows how to describe KS > + CF together? > > Please file a

Re: Continuously increasing RAM usage

2010-05-27 Thread Philip Stanhope
I've seen numerous anecdotal references that the Sun JVM performs better. Is there a reason why the debian packaging for Cassandra installs the OpenJDK version? What would it take to create an alternative apt-get package that pulls Sun JVM rather than OpenJDK? -phil On May 27, 2010, at 12:33

Re: Remove and BytesType

2010-05-27 Thread Philip Stanhope
Could you clarify what you mean by "remove command"? Remove all columns leaving a row key? Did you use nodetool to force a flush and then compact after GCGraceSeconds? On May 27, 2010, at 9:27 AM, Bill de hOra wrote: > Saw some behaviour today on Cassandra 0.6.1 - > > After running a remove co