Re: one question about cassandra write

2010-08-06 Thread Peter Schuller
> a) It is a major compaction [1] > b) The old version was deleted/overwritten more than GCGraceSeconds ago [2] c) and the memtable containing the delete/overwrite has been flushed. (I suppose that's kinda obvious in retrospect, but it took me a little bit to realize this was why a 'nodetool comp

Re: one question about cassandra write

2010-08-06 Thread Rob Coli
On 8/6/10 2:13 PM, Benjamin Black wrote: Assuming the old version is already on disk in an SSTable, the new version will not overwrite it, and both versions will be in the system. A compaction will remove the old version, however. To be clear, a compaction will only remove the old version if :

RE: one question about cassandra write

2010-08-06 Thread Jeremiah Jordan
If you want to be able to get the data over time, you need to store it in multiple columns. You can use TimeUUID columns if you need to be able to get ranges of times through queries. -Original Message- From: Maifi Khan [mailto:maifi.k...@gmail.com] Sent: Friday, August 06, 2010 2:51 PM

Re: one question about cassandra write

2010-08-06 Thread Benjamin Black
On Fri, Aug 6, 2010 at 12:51 PM, Maifi Khan wrote: > Hi > I have a question about the internal of cassandra write. > Say, I already have the following in the database - > (row_x,col_y,val1) > > Now if I try to insert > (row_x,col_y,val100), what will happen? > Will it overwrite the old data? > I m