cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavien Charlon <flavien.char...@gmail.com>
Subject Re: Compaction failing to trigger
Date Mon, 19 Jan 2015 10:35:02 GMT
Thanks Roland. Good to know, I will try that. Do you know the JIRA ticket
number of that bug?

Thanks,
Flavien

On 19 January 2015 at 06:15, Roland Etzenhammer <r.etzenhammer@t-online.de>
wrote:

> Hi Flavien,
>
> I hit some problem with minor compations recently (just some days ago) -
> but with many more tables. In my case compactions got not triggered, you
> can check this with nodetool compactionstats.
>
> Reason for me was that those minor compactions did not get triggered since
> there were almost no reads on that tables. Setting 'cold_reads_to_omit' to
> 0 did the job for me:
>
> ALTER TABLE <tablename> WITH compaction = {'class':
> 'SizeTieredCompactionStrategy', 'min_threshold': '4', 'max_threshold':
> '32', 'cold_reads_to_omit': 0.0};
>
> Credits to Tyler and Eric for the pointers.
>
> Cheers,
> Roland
>

Mime
View raw message