cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <>
Subject Re: disable compaction
Date Wed, 20 Jul 2011 15:28:36 GMT
On Wed, Jul 20, 2011 at 11:13 AM, Nikolai Kopylov <> wrote:

> Hi everyone,
> finding out recently that cassandra have no upper limit for sstable files
> to grow, I decided to move to deletion of CF with obsolete data.
> So that I will not remove columns and there is no need in compaction at
> all. How can I completely disable the compaction process?
> Thanx for your attention,
> Nikolai
This can be done from the CLI.
[default@unknown] help update column family;
update column family Bar;
update column family Bar with <att1>=<value1>;
update column family Bar with <att1>=<value1> and <att2>=<value2>...;

    - min_compaction_threshold: Avoid minor compactions of less than this
number of sstable files
    - max_compaction_threshold: Compact no more than this number of sstable
files at once

update column family xxx with min_compaction_threshold=0 and

Rolling over data into new column families is one extreme way to avoid
compaction :)


View raw message