Re: disable compaction if all data are read-only?

2016-04-08 Thread Robert Wille
You still need compaction. Compaction is what organizes your data into levels. Without compaction, every query would have to look at every SSTable. Also, due to commit log rotation, your memtable may get flushed from time to time before it is full, resulting in small SSTables that would benefit

Re: disable compaction if all data are read-only?

2016-04-08 Thread Yatong Zhang
I am using leveled strategy. What if my data are 'append-only'? I mean there are always new data but will be never changed once written to cassandra? On Fri, Apr 8, 2016 at 6:33 PM, Pedro Gordo wrote: > Hi Yatong > > My understanding is that if you have a table whichi

Re: disable compaction if all data are read-only?

2016-04-08 Thread Pedro Gordo
Hi Yatong My understanding is that if you have a table whichi read-only and hence doesn't receive any writes, then no SSTables will be created, and hence, no compaction will happen. What compaction strategy do you have on your table? Best regards Pedro Gordo On 8 April 2016 at 10:42, Yatong