Re: Tombstones not getting purged

2019-06-20 Thread Léo FERLIN SUTTON
Thank you for the information ! On Thu, Jun 20, 2019 at 9:50 AM Alexander Dejanovski wrote: > Léo, > > if a major compaction isn't a viable option, you can give a go at > Instaclustr SSTables tools to target the partitions with the most > tombstones : > https://github.com/instaclustr/cassandra-s

Re: Tombstones not getting purged

2019-06-20 Thread Alexander Dejanovski
Léo, if a major compaction isn't a viable option, you can give a go at Instaclustr SSTables tools to target the partitions with the most tombstones : https://github.com/instaclustr/cassandra-sstable-tools/tree/cassandra-2.2#ic-purge It generates a report like this: Summary: +-+-

Re: Tombstones not getting purged

2019-06-20 Thread Alexander Dejanovski
My bad on date formatting, it should have been : %Y/%m/%d Otherwise the SSTables aren't ordered properly. You have 2 SSTables that claim to cover timestamps from 1940 to 2262, which is weird. Aside from that, you have big overlaps all over the SSTables, so that's probably why your tombstones are s

Re: Tombstones not getting purged

2019-06-19 Thread Léo FERLIN SUTTON
On Thu, Jun 20, 2019 at 7:37 AM Alexander Dejanovski wrote: > Hi Leo, > > The overlapping SSTables are indeed the most probable cause as suggested > by Jeff. > Do you know if the tombstone compactions actually triggered? (did the > SSTables name change?) > Hello ! I believe they have changed. I

Re: Tombstones not getting purged

2019-06-19 Thread Alexander Dejanovski
Hi Leo, The overlapping SSTables are indeed the most probable cause as suggested by Jeff. Do you know if the tombstone compactions actually triggered? (did the SSTables name change?) Could you run the following command to list SSTables and provide us the output? It will display both their timesta

Re: Tombstones not getting purged

2019-06-19 Thread Jeff Jirsa
Probably overlapping sstables Which compaction strategy? > On Jun 19, 2019, at 9:51 PM, Léo FERLIN SUTTON > wrote: > > I have used the following command to check if I had droppable tombstones : > `/usr/bin/sstablemetadata --gc_grace_seconds 259200 > /var/lib/cassandra/data/stats/tablename/md

Tombstones not getting purged

2019-06-19 Thread Léo FERLIN SUTTON
I have used the following command to check if I had droppable tombstones : `/usr/bin/sstablemetadata --gc_grace_seconds 259200 /var/lib/cassandra/data/stats/tablename/md-sstablename-big-Data.db` I checked every sstable in a loop and had 4 sstables with droppable tombstones : ``` Estimated droppab