cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleksandr Shulgin <>
Subject Re: about remaining data after adding a node
Date Thu, 05 Sep 2019 09:47:59 GMT
On Thu, Sep 5, 2019 at 11:19 AM Federico Razzoli <> wrote:

> Are you using DateTieredCompactionStrategy? It optimises the deletion of
> expired data from disks.
> If minor compactions are not solving the problem, I suggest to run
> nodetool compact.

Sorry, but both of the suggestions above are of dubious quality IMO.

Don't use DTCS, use TWCS instead, if your use case is a good fit
(immutable, in-order, TTLd inserts).
Don't trigger major compaction for w/o a very good reason.

In general, compaction can help to get rid of expired data, but it doesn't
remove copies of data for which the node is not responsible anymore due to
topology change.  Use the cleanup command for that.


View raw message