cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject Storing log structured data in Cassandra without compactions for performance boost.
Date Wed, 07 May 2014 00:55:48 GMT
I'm looking at storing log data in Cassandra…

Every record is a unique timestamp for the key, and then the log line for
the value.

I think it would be best to just disable compactions.

- there will never be any deletes.

- all the data will be accessed in time range (probably partitioned
randomly) and sequentially.

So every time a memtable flushes, we will just keep that SSTable forever.

Compacting the data is kind of redundant in this situation.

I was thinking the best strategy is to use setcompactionthreshold and set
the value VERY high to compactions are never triggered.

Also, It would be IDEAL to be able to tell cassandra to just drop a full
SSTable so that I can truncate older data without having to do a major
compaction and without having to mark everything with a tombstone.  Is this


Location: *San Francisco, CA*
Skype: *burtonator*
… or check out my Google+
War is peace. Freedom is slavery. Ignorance is strength. Corporations are

View raw message